Index: applications/cacls/CMakeLists.txt =================================================================== --- applications/cacls/CMakeLists.txt (revision 48959) +++ applications/cacls/CMakeLists.txt (working copy) @@ -3,14 +3,12 @@ cacls.c cacls.rc) -add_executable(cacls - ${CMAKE_CURRENT_BINARY_DIR}/cacls_precomp.h.gch - ${SOURCE}) +add_executable(cacls ${SOURCE}) -add_pch(cacls ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) +add_pch(cacls ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE) +set_module_type(cacls win32cui) set_unicode(cacls yes) -set_module_type(cacls win32cui) - -add_importlibs(cacls advapi32 ntdll user32 shell32 msvcrt) \ No newline at end of file +add_importlibs(cacls advapi32 ntdll user32 shell32 msvcrt) +add_dependencies(cacls psdk) Index: applications/calc/CMakeLists.txt =================================================================== --- applications/calc/CMakeLists.txt (revision 48959) +++ applications/calc/CMakeLists.txt (working copy) @@ -1,8 +1,6 @@ - -add_definitions(-DUNICODE -D_UNICODE) add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1) -add_executable(calc +list(APPEND SOURCE about.c convert.c function.c @@ -11,8 +9,10 @@ winmain.c resource.rc) +add_executable(calc ${SOURCE}) + set_module_type(calc win32gui) set_unicode(calc yes) -add_importlibs(calc advapi32 user32 gdi32 msvcrt) +add_importlibs(calc advapi32 gdi32 user32 msvcrt) add_dependencies(calc psdk) Index: applications/charmap/CMakeLists.txt =================================================================== --- applications/charmap/CMakeLists.txt (revision 48959) +++ applications/charmap/CMakeLists.txt (working copy) @@ -6,14 +6,12 @@ map.c charmap.rc) -add_executable(charmap - ${CMAKE_CURRENT_BINARY_DIR}/charmap_precomp.h.gch - ${SOURCE}) +add_executable(charmap ${SOURCE}) add_pch(charmap ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) +set_module_type(charmap win32gui) set_unicode(charmap yes) -set_module_type(charmap win32gui) - -add_importlibs(charmap user32 gdi32 comctl32 msvcrt) \ No newline at end of file +add_importlibs(charmap gdi32 user32 comctl32 msvcrt) +add_dependencies(charmap psdk) Index: applications/CMakeLists.txt =================================================================== --- applications/CMakeLists.txt (revision 48959) +++ applications/CMakeLists.txt (working copy) @@ -4,33 +4,33 @@ add_subdirectory(charmap) add_subdirectory(cmdutils) add_subdirectory(control) -#add_subdirectory(dxdiag) +add_subdirectory(dxdiag) add_subdirectory(extrac32) add_subdirectory(fontview) add_subdirectory(games) add_subdirectory(hh) add_subdirectory(iexplore) -#add_subdirectory(kbswitch) -#add_subdirectory(logoff) -#add_subdirectory(magnify) -#add_subdirectory(mmc) -#add_subdirectory(mplay32) -#add_subdirectory(msconfig) -#add_subdirectory(mscutils) -#add_subdirectory(mstsc) -#add_subdirectory(network) +add_subdirectory(kbswitch) +add_subdirectory(logoff) +add_subdirectory(magnify) +add_subdirectory(mmc) +add_subdirectory(mplay32) +add_subdirectory(msconfig) +add_subdirectory(mscutils) +add_subdirectory(mstsc) +add_subdirectory(network) #add_subdirectory(notepad) -#add_subdirectory(paint) +add_subdirectory(paint) #add_subdirectory(rapps) #add_subdirectory(regedit) -#add_subdirectory(regedt32) -#add_subdirectory(sc) -#add_subdirectory(screensavers) -#add_subdirectory(shutdown) -#add_subdirectory(sndrec32) -#add_subdirectory(sndvol32) -#add_subdirectory(taskmgr) -#add_subdirectory(winhlp32) -#add_subdirectory(winver) +add_subdirectory(regedt32) +add_subdirectory(sc) +add_subdirectory(screensavers) +add_subdirectory(shutdown) +add_subdirectory(sndrec32) +add_subdirectory(sndvol32) +add_subdirectory(taskmgr) +add_subdirectory(winhlp32) +add_subdirectory(winver) #add_subdirectory(wordpad) -#add_subdirectory(write) +add_subdirectory(write) Index: applications/cmdutils/dbgprint/CMakeLists.txt =================================================================== --- applications/cmdutils/dbgprint/CMakeLists.txt (revision 48959) +++ applications/cmdutils/dbgprint/CMakeLists.txt (working copy) @@ -1,7 +1,11 @@ -add_executable(dbgprint dbgprint.c) +list(APPEND SOURCE + dbgprint.c) + +add_executable(dbgprint ${SOURCE}) + set_module_type(dbgprint win32cui) - set_unicode(dbgprint no) -add_importlibs(dbgprint msvcrt) \ No newline at end of file +add_importlibs(dbgprint msvcrt) +add_dependencies(dbgprint psdk) Index: applications/cmdutils/doskey/CMakeLists.txt =================================================================== --- applications/cmdutils/doskey/CMakeLists.txt (revision 48959) +++ applications/cmdutils/doskey/CMakeLists.txt (working copy) @@ -1,9 +1,12 @@ -add_executable(doskey + +list(APPEND SOURCE doskey.c doskey.rc) +add_executable(doskey ${SOURCE}) + set_module_type(doskey win32cui) - set_unicode(doskey yes) -add_importlibs(doskey user32 msvcrt) \ No newline at end of file +add_importlibs(doskey user32 msvcrt) +add_dependencies(doskey psdk) Index: applications/cmdutils/find/CMakeLists.txt =================================================================== --- applications/cmdutils/find/CMakeLists.txt (revision 48959) +++ applications/cmdutils/find/CMakeLists.txt (working copy) @@ -1,9 +1,12 @@ -add_executable(find + +list(APPEND SOURCE find.c find.rc) +add_executable(find ${SOURCE}) + set_module_type(find win32cui) - set_unicode(find no) -add_importlibs(find user32 msvcrt) \ No newline at end of file +add_importlibs(find user32 msvcrt) +add_dependencies(find psdk) Index: applications/cmdutils/hostname/CMakeLists.txt =================================================================== --- applications/cmdutils/hostname/CMakeLists.txt (revision 48959) +++ applications/cmdutils/hostname/CMakeLists.txt (working copy) @@ -1,9 +1,12 @@ -add_executable(hostname + +list(APPEND SOURCE hostname.c hostname.rc) +add_executable(hostname ${SOURCE}) + set_module_type(hostname win32cui) - set_unicode(hostname no) -add_importlibs(hostname msvcrt) \ No newline at end of file +add_importlibs(hostname msvcrt) +add_dependencies(hostname psdk) Index: applications/cmdutils/lodctr/CMakeLists.txt =================================================================== --- applications/cmdutils/lodctr/CMakeLists.txt (revision 48959) +++ applications/cmdutils/lodctr/CMakeLists.txt (working copy) @@ -1,7 +1,11 @@ -add_executable(lodctr lodctr_main.c) +list(APPEND SOURCE + lodctr_main.c) + +add_executable(lodctr ${SOURCE}) + set_module_type(lodctr win32cui) - set_unicode(lodctr yes) -add_importlibs(lodctr loadperf msvcrt) \ No newline at end of file +add_importlibs(lodctr loadperf msvcrt) +add_dependencies(lodctr psdk) Index: applications/cmdutils/more/CMakeLists.txt =================================================================== --- applications/cmdutils/more/CMakeLists.txt (revision 48959) +++ applications/cmdutils/more/CMakeLists.txt (working copy) @@ -1,9 +1,11 @@ -add_executable(more + +list(APPEND SOURCE more.c more.rc) +add_executable(more ${SOURCE}) + set_module_type(more win32cui) - set_unicode(more no) - -add_importlibs(more ntdll user32 msvcrt) \ No newline at end of file +add_importlibs(more ntdll user32 msvcrt) +add_dependencies(more psdk) Index: applications/cmdutils/reg/CMakeLists.txt =================================================================== --- applications/cmdutils/reg/CMakeLists.txt (revision 48959) +++ applications/cmdutils/reg/CMakeLists.txt (working copy) @@ -1,12 +1,14 @@ remove_definitions(-D_WIN32_WINNT=0x502) add_definitions(-D_WIN32_WINNT=0x600) -add_executable(reg +list(APPEND SOURCE reg.c rsrc.rc) +add_executable(reg ${SOURCE}) + set_module_type(reg win32cui) - set_unicode(reg yes) +add_importlibs(reg advapi32 user32 msvcrt) -add_importlibs(reg advapi32 user32 msvcrt) \ No newline at end of file +add_dependencies(reg psdk) Index: applications/cmdutils/xcopy/CMakeLists.txt =================================================================== --- applications/cmdutils/xcopy/CMakeLists.txt (revision 48959) +++ applications/cmdutils/xcopy/CMakeLists.txt (working copy) @@ -1,11 +1,12 @@ -add_executable(xcopy + +list(APPEND SOURCE xcopy.c rsrc.rc) +add_executable(xcopy ${SOURCE}) + set_module_type(xcopy win32cui) - set_unicode(xcopy yes) - -add_importlibs(xcopy shell32 user32 msvcrt ntdll) - -target_link_libraries(xcopy wine) \ No newline at end of file +add_importlibs(xcopy shell32 user32 msvcrt) +target_link_libraries(xcopy wine) +add_dependencies(xcopy psdk) Index: applications/control/CMakeLists.txt =================================================================== --- applications/control/CMakeLists.txt (revision 48959) +++ applications/control/CMakeLists.txt (working copy) @@ -1,10 +1,11 @@ -add_executable(control +list(APPEND SOURCE control.c control.rc) -set_unicode(control yes) +add_executable(control ${SOURCE}) set_module_type(control win32gui) - -add_importlibs(control advapi32 shell32 kernel32 msvcrt) \ No newline at end of file +set_unicode(control yes) +add_importlibs(control advapi32 shell32 msvcrt) +add_dependencies(control psdk) Index: applications/dxdiag/CmakeLists.txt =================================================================== --- applications/dxdiag/CmakeLists.txt (revision 0) +++ applications/dxdiag/CmakeLists.txt (revision 0) @@ -0,0 +1,26 @@ + +list(APPEND SOURCE + system.c + display.c + sound.c + music.c + input.c + network.c + help.c + dxdiag.c + dxdiag.rc + ddtest.c + d3dtest.c + d3dtest7.c + d3dtest8.c + d3dtest9.c) + +add_executable(dxdiag ${SOURCE}) + +add_pch(dxdiag ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(dxdiag win32gui) +set_unicode(dxdiag yes) + +add_importlibs(dxdiag user32 advapi32 comctl32 shell32 version dinput8 setupapi dxguid dsound ddraw version gdi32 winmm d3d9 msvcrt) +add_dependencies(dxdiag psdk) Index: applications/extrac32/CMakeLists.txt =================================================================== --- applications/extrac32/CMakeLists.txt (revision 48959) +++ applications/extrac32/CMakeLists.txt (working copy) @@ -1,10 +1,11 @@ -add_executable(extrac32 extrac32.c) +list(APPEND SOURCE + extrac32.c) -set_unicode(extrac32 yes) +add_executable(extrac32 ${SOURCE}) set_module_type(extrac32 win32gui) - +set_unicode(extrac32 yes) +add_importlibs(extrac32 shell32 setupapi shlwapi user32 msvcrt) target_link_libraries(extrac32 wine) - -add_importlibs(extrac32 ntdll shell32 setupapi shlwapi user32 msvcrt) \ No newline at end of file +add_dependencies(extrac32 psdk) Index: applications/fontview/CMakeLists.txt =================================================================== --- applications/fontview/CMakeLists.txt (revision 48959) +++ applications/fontview/CMakeLists.txt (working copy) @@ -1,11 +1,12 @@ -add_executable(fontview +list(APPEND SOURCE + fontview.c display.c - fontview.c fontview.rc) -set_unicode(fontview no) +add_executable(fontview ${SOURCE}) set_module_type(fontview win32gui) - -add_importlibs(fontview gdi32 shell32 user32 msvcrt) \ No newline at end of file +set_unicode(fontview no) +add_importlibs(fontview gdi32 user32 shell32 msvcrt) +add_dependencies(fontview psdk) Index: applications/games/CMakeLists.txt =================================================================== --- applications/games/CMakeLists.txt (revision 48959) +++ applications/games/CMakeLists.txt (working copy) @@ -1,4 +1,4 @@ add_subdirectory(solitaire) -#add_subdirectory(spider) +add_subdirectory(spider) add_subdirectory(winemine) Index: applications/games/solitaire/CMakeLists.txt =================================================================== --- applications/games/solitaire/CMakeLists.txt (revision 48959) +++ applications/games/solitaire/CMakeLists.txt (working copy) @@ -1,16 +1,18 @@ include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib) -add_executable(sol +list(APPEND SOURCE solcreate.cpp solgame.cpp solitaire.cpp rsrc.rc) -set_unicode(sol yes) +add_executable(sol ${SOURCE}) set_module_type(sol win32gui) +set_unicode(sol yes) target_link_libraries(sol cardlib) -add_importlibs(sol advapi32 comctl32 user32 gdi32 stdc++ gcc mingw32 msvcrt) \ No newline at end of file +add_importlibs(sol advapi32 comctl32 user32 gdi32 stdc++ gcc mingw32 msvcrt) +add_dependencies(sol psdk) Index: applications/games/spider/CmakeLists.txt =================================================================== --- applications/games/spider/CmakeLists.txt (revision 0) +++ applications/games/spider/CmakeLists.txt (revision 0) @@ -0,0 +1,17 @@ + +include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib) + +list(APPEND SOURCE + spigame.cpp + spider.cpp + rsrc.rc) + +add_executable(spider ${SOURCE}) + +set_module_type(spider win32gui) +set_unicode(spider yes) + +target_link_libraries(spider cardlib) + +add_importlibs(spider advapi32 comctl32 user32 gdi32 stdc++ gcc mingw32 msvcrt) +add_dependencies(spider psdk) Index: applications/games/spider/lang/bg-BG.rc =================================================================== --- applications/games/spider/lang/bg-BG.rc (revision 48959) +++ applications/games/spider/lang/bg-BG.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Gregor Schneider */ -#include "resource.h" - LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT Index: applications/games/spider/lang/de-DE.rc =================================================================== --- applications/games/spider/lang/de-DE.rc (revision 48959) +++ applications/games/spider/lang/de-DE.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Gregor Schneider */ -#include "resource.h" - LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL Index: applications/games/spider/lang/en-US.rc =================================================================== --- applications/games/spider/lang/en-US.rc (revision 48959) +++ applications/games/spider/lang/en-US.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Gregor Schneider */ -#include "resource.h" - LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US Index: applications/games/spider/lang/es-ES.rc =================================================================== --- applications/games/spider/lang/es-ES.rc (revision 48959) +++ applications/games/spider/lang/es-ES.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Javier Fernandez; Gabriel ilardi */ -#include "resource.h" - LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL Index: applications/games/spider/lang/fr-FR.rc =================================================================== --- applications/games/spider/lang/fr-FR.rc (revision 48959) +++ applications/games/spider/lang/fr-FR.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Pierre Schweitzer */ -#include "resource.h" - LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL Index: applications/games/spider/lang/hu-HU.rc =================================================================== --- applications/games/spider/lang/hu-HU.rc (revision 48959) +++ applications/games/spider/lang/hu-HU.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Xxxx00 */ -#include "resource.h" - LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT Index: applications/games/spider/lang/it-IT.rc =================================================================== --- applications/games/spider/lang/it-IT.rc (revision 48959) +++ applications/games/spider/lang/it-IT.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Gabriel ilardi gabrielilardi [at] hotmail [dot] it */ -#include "resource.h" - LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL Index: applications/games/spider/lang/ja-JP.rc =================================================================== --- applications/games/spider/lang/ja-JP.rc (revision 48959) +++ applications/games/spider/lang/ja-JP.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Tomoya Kitagawa */ -#include "resource.h" - LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT Index: applications/games/spider/lang/nl-NL.rc =================================================================== --- applications/games/spider/lang/nl-NL.rc (revision 48959) +++ applications/games/spider/lang/nl-NL.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Wouter De Vlieger */ -#include "resource.h" - LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL Index: applications/games/spider/lang/pl-PL.rc =================================================================== --- applications/games/spider/lang/pl-PL.rc (revision 48959) +++ applications/games/spider/lang/pl-PL.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Maciej Bialas */ -#include "resource.h" - LANGUAGE LANG_POLISH, SUBLANG_DEFAULT Index: applications/games/spider/lang/ru-RU.rc =================================================================== --- applications/games/spider/lang/ru-RU.rc (revision 48959) +++ applications/games/spider/lang/ru-RU.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Dmitry Chapyshev */ -#include "resource.h" - LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT Index: applications/games/spider/lang/sk-SK.rc =================================================================== --- applications/games/spider/lang/sk-SK.rc (revision 48959) +++ applications/games/spider/lang/sk-SK.rc (working copy) @@ -7,8 +7,6 @@ * DATE OF TR.: 13-10-2009 */ -#include "resource.h" - LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT Index: applications/games/spider/lang/uk-UA.rc =================================================================== --- applications/games/spider/lang/uk-UA.rc (revision 48959) +++ applications/games/spider/lang/uk-UA.rc (working copy) @@ -7,8 +7,6 @@ */ -#include "resource.h" - LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT Index: applications/games/winemine/CMakeLists.txt =================================================================== --- applications/games/winemine/CMakeLists.txt (revision 48959) +++ applications/games/winemine/CMakeLists.txt (working copy) @@ -1,14 +1,14 @@ +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) - -add_executable(winemine +list(APPEND SOURCE main.c dialog.c rsrc.rc) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -set_unicode(winemine yes) +add_executable(winemine ${SOURCE}) +set_rc_compiler() set_module_type(winemine win32gui) -set_rc_compiler() - -add_importlibs(winemine user32 gdi32 advapi32 shell32 msvcrt) \ No newline at end of file +set_unicode(winemine yes) +add_importlibs(winemine gdi32 user32 advapi32 shell32 msvcrt) +add_dependencies(winemine psdk) Index: applications/hh/CMakeLists.txt =================================================================== --- applications/hh/CMakeLists.txt (revision 48959) +++ applications/hh/CMakeLists.txt (working copy) @@ -1,10 +1,12 @@ -add_executable(hh +list(APPEND SOURCE main.c hh.rc) -set_unicode(hh no) +add_executable(hh ${SOURCE}) + set_module_type(hh win32gui) - -add_importlibs(hh gdi32 user32 msvcrt) \ No newline at end of file +set_unicode(hh no) +add_importlibs(hh user32 gdi32 msvcrt) +add_dependencies(hh psdk) Index: applications/iexplore/CMakeLists.txt =================================================================== --- applications/iexplore/CMakeLists.txt (revision 48959) +++ applications/iexplore/CMakeLists.txt (working copy) @@ -1,10 +1,11 @@ -add_executable(iexplore +list(APPEND SOURCE main.c iexplore.rc) -set_unicode(iexplore no) +add_executable(iexplore ${SOURCE}) set_module_type(iexplore win32gui) - -add_importlibs(iexplore shdocvw msvcrt) \ No newline at end of file +set_unicode(iexplore no) +add_importlibs(iexplore user32 gdi32 shdocvw msvcrt) +add_dependencies(iexplore psdk) Index: applications/kbswitch/CmakeLists.txt =================================================================== --- applications/kbswitch/CmakeLists.txt (revision 0) +++ applications/kbswitch/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + kbswitch.c + kbswitch.rc) + +add_executable(kbswitch ${SOURCE}) + + +set_module_type(kbswitch win32gui) +set_unicode(kbswitch yes) +add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt) +add_dependencies(kbswitch psdk) Index: applications/kbswitch/kbsdll/CmakeLists.txt =================================================================== --- applications/kbswitch/kbsdll/CmakeLists.txt (revision 0) +++ applications/kbswitch/kbsdll/CmakeLists.txt (revision 0) @@ -0,0 +1,16 @@ + +list(APPEND SOURCE + kbsdll.c + kbsdll.rc) + +add_library(kbsdll SHARED + ${SOURCE}) + + +set_unicode(kbsdll yes) +spec2def(kbsdll ${CMAKE_CURRENT_SOURCE_DIR}/kbsdll.spec${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def) +target_link_libraries(kbsdll ${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def + user32 + comctl32) + +add_dependencies(kbsdll psdk) Index: applications/logoff/CmakeLists.txt =================================================================== --- applications/logoff/CmakeLists.txt (revision 0) +++ applications/logoff/CmakeLists.txt (revision 0) @@ -0,0 +1,14 @@ + +list(APPEND SOURCE + misc.c + logoff.c + logoff.rc) + +add_executable(logoff ${SOURCE}) + +add_pch(logoff ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(logoff win32cui) +set_unicode(logoff no) +add_importlibs(logoff advapi32 user32 msvcrt) +add_dependencies(logoff psdk) Index: applications/magnify/CmakeLists.txt =================================================================== --- applications/magnify/CmakeLists.txt (revision 0) +++ applications/magnify/CmakeLists.txt (revision 0) @@ -0,0 +1,13 @@ + +list(APPEND SOURCE + magnifier.c + settings.c + magnify.rc) + +add_executable(magnify ${SOURCE}) + + +set_module_type(magnify win32gui) +set_unicode(magnify no) +add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt) +add_dependencies(magnify psdk) Index: applications/mmc/CmakeLists.txt =================================================================== --- applications/mmc/CmakeLists.txt (revision 0) +++ applications/mmc/CmakeLists.txt (revision 0) @@ -0,0 +1,15 @@ + +list(APPEND SOURCE + console.c + misc.c + mmc.c + mmc.rc) + +add_executable(mmcclient ${SOURCE}) + +add_pch(mmcclient ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(mmcclient win32gui) +set_unicode(mmcclient yes) +add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt) +add_dependencies(mmcclient psdk) Index: applications/mplay32/CmakeLists.txt =================================================================== --- applications/mplay32/CmakeLists.txt (revision 0) +++ applications/mplay32/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + mplay32.c + mplay32.rc) + +add_executable(mplay32 ${SOURCE}) + + +set_module_type(mplay32 win32gui) +set_unicode(mplay32 yes) +add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt) +add_dependencies(mplay32 psdk) Index: applications/msconfig/CmakeLists.txt =================================================================== --- applications/msconfig/CmakeLists.txt (revision 0) +++ applications/msconfig/CmakeLists.txt (revision 0) @@ -0,0 +1,19 @@ + +list(APPEND SOURCE + toolspage.c + srvpage.c + systempage.c + startuppage.c + freeldrpage.c + generalpage.c + msconfig.c + msconfig.rc) + +add_executable(msconfig ${SOURCE}) + +add_pch(msconfig ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(msconfig win32gui) +set_unicode(msconfig yes) +add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt) +add_dependencies(msconfig psdk) Index: applications/mscutils/CMakeLists.txt =================================================================== --- applications/mscutils/CMakeLists.txt (revision 0) +++ applications/mscutils/CMakeLists.txt (revision 0) @@ -0,0 +1,4 @@ + +#add_subdirectory(devmgmt) +add_subdirectory(eventvwr) +add_subdirectory(servman) Index: applications/mscutils/devmgmt/CmakeLists.txt =================================================================== --- applications/mscutils/devmgmt/CmakeLists.txt (revision 0) +++ applications/mscutils/devmgmt/CmakeLists.txt (revision 0) @@ -0,0 +1,17 @@ + +list(APPEND SOURCE + about.c + devmgmt.c + enumdevices.c + mainwnd.c + misc.c + devmgmt.rc) + +add_executable(devmgmt ${SOURCE}) + +add_pch(devmgmt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(devmgmt win32gui) +set_unicode(devmgmt yes) +add_importlibs(devmgmt ntdll setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt) +add_dependencies(devmgmt psdk) Index: applications/mscutils/eventvwr/CmakeLists.txt =================================================================== --- applications/mscutils/eventvwr/CmakeLists.txt (revision 0) +++ applications/mscutils/eventvwr/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + eventvwr.c + eventvwr.rc) + +add_executable(eventvwr ${SOURCE}) + + +set_module_type(eventvwr win32gui) +set_unicode(eventvwr yes) +add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt) +add_dependencies(eventvwr psdk) Index: applications/mscutils/servman/CmakeLists.txt =================================================================== --- applications/mscutils/servman/CmakeLists.txt (revision 0) +++ applications/mscutils/servman/CmakeLists.txt (revision 0) @@ -0,0 +1,31 @@ + +list(APPEND SOURCE + about.c + control.c + create.c + delete.c + dependencies_tv1.c + dependencies_tv2.c + export.c + listview.c + mainwnd.c + misc.c + progress.c + propsheet.c + propsheet_depends.c + propsheet_general.c + query.c + servman.c + start.c + stop.c + stop_dependencies.c + servman.rc) + +add_executable(servman ${SOURCE}) + +add_pch(servman ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(servman win32gui) +set_unicode(servman yes) +add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt) +add_dependencies(servman psdk) Index: applications/mstsc/CmakeLists.txt =================================================================== --- applications/mstsc/CmakeLists.txt (revision 0) +++ applications/mstsc/CmakeLists.txt (revision 0) @@ -0,0 +1,31 @@ + +list(APPEND SOURCE + bitmap.c + bsops.c + cache.c + channels.c + connectdialog.c + iso.c + licence.c + mcs.c + mppc.c + orders.c + pstcache.c + rdp5.c + rdp.c + secure.c + settings.c + ssl_calls.c + tcp.c + uimain.c + win32.c + rdc.rc) + +add_executable(mstsc ${SOURCE}) + +add_pch(mstsc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(mstsc win32gui) +set_unicode(mstsc yes) +add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt) +add_dependencies(mstsc psdk) Index: applications/network/arp/CmakeLists.txt =================================================================== --- applications/network/arp/CmakeLists.txt (revision 0) +++ applications/network/arp/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + arp.c + arp.rc) + +add_executable(arp ${SOURCE}) + +set_module_type(arp win32cui) +set_unicode(arp no) +add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt) +add_dependencies(arp psdk) Index: applications/network/CMakeLists.txt =================================================================== --- applications/network/CMakeLists.txt (revision 0) +++ applications/network/CMakeLists.txt (revision 0) @@ -0,0 +1,13 @@ +add_subdirectory(arp) +add_subdirectory(dwnl) +add_subdirectory(finger) +add_subdirectory(ftp) +add_subdirectory(ipconfig) +add_subdirectory(net) +add_subdirectory(netstat) +add_subdirectory(nslookup) +add_subdirectory(ping) +add_subdirectory(route) +add_subdirectory(telnet) +add_subdirectory(tracert) +add_subdirectory(whois) \ No newline at end of file Index: applications/network/dwnl/CmakeLists.txt =================================================================== --- applications/network/dwnl/CmakeLists.txt (revision 0) +++ applications/network/dwnl/CmakeLists.txt (revision 0) @@ -0,0 +1,10 @@ + +list(APPEND SOURCE + dwnl.c) + +add_executable(dwnl ${SOURCE}) + +set_module_type(dwnl win32cui) +set_unicode(dwnl yes) +add_importlibs(dwnl urlmon wininet uuid msvcrt) +add_dependencies(dwnl psdk) Index: applications/network/finger/CmakeLists.txt =================================================================== --- applications/network/finger/CmakeLists.txt (revision 0) +++ applications/network/finger/CmakeLists.txt (revision 0) @@ -0,0 +1,15 @@ +add_definitions(-D__USE_W32_SOCKETS) + +list(APPEND SOURCE + finger.c + err.c + getopt.c + net.c + finger.rc) + +add_executable(finger ${SOURCE}) + +set_module_type(finger win32cui) +set_unicode(finger no) +add_importlibs(finger ws2_32 msvcrt) +add_dependencies(finger psdk) Index: applications/network/ftp/CmakeLists.txt =================================================================== --- applications/network/ftp/CmakeLists.txt (revision 0) +++ applications/network/ftp/CmakeLists.txt (revision 0) @@ -0,0 +1,27 @@ +add_definitions(-Dlint) +add_definitions(-Dchdir=_chdir) +add_definitions(-Dgetcwd=_getcwd) +add_definitions(-Dmktemp=_mktemp) +add_definitions(-Dunlink=_unlink) +add_definitions(-Dclose=_close) +add_definitions(-Dfileno=_fileno) +add_definitions(-Dread=_read) +add_definitions(-Dwrite=_write) +add_definitions(-Dlseek=_lseek) + +list(APPEND SOURCE + cmds.c + cmdtab.c + domacro.c + fake.c + ftp.c + main.c + ruserpass.c + ftp.rc) + +add_executable(ftp ${SOURCE}) + +set_module_type(ftp win32cui) +set_unicode(ftp no) +add_importlibs(ftp ws2_32 iphlpapi oldnames msvcrt) +add_dependencies(ftp psdk) Index: applications/network/ipconfig/CmakeLists.txt =================================================================== --- applications/network/ipconfig/CmakeLists.txt (revision 0) +++ applications/network/ipconfig/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + ipconfig.c + ipconfig.rc) + +add_executable(ipconfig ${SOURCE}) + +set_module_type(ipconfig win32cui) +set_unicode(ipconfig no) +add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt) +add_dependencies(ipconfig psdk) Index: applications/network/net/CmakeLists.txt =================================================================== --- applications/network/net/CmakeLists.txt (revision 0) +++ applications/network/net/CmakeLists.txt (revision 0) @@ -0,0 +1,15 @@ +add_definitions(-D__USE_W32_SOCKETS) + +list(APPEND SOURCE + main.c + cmdstart.c + cmdStop.c + help.c + process.c) + +add_executable(net ${SOURCE}) + +set_module_type(net win32cui) +set_unicode(net no) +add_importlibs(net ws2_32 msvcrt) +add_dependencies(net psdk) Index: applications/network/netstat/CmakeLists.txt =================================================================== --- applications/network/netstat/CmakeLists.txt (revision 0) +++ applications/network/netstat/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + netstat.c + netstat.rc) + +add_executable(netstat ${SOURCE}) + +set_module_type(netstat win32cui) +set_unicode(netstat no) +add_importlibs(netstat user32 ws2_32 snmpapi iphlpapi msvcrt) +add_dependencies(netstat psdk) Index: applications/network/nslookup/CmakeLists.txt =================================================================== --- applications/network/nslookup/CmakeLists.txt (revision 0) +++ applications/network/nslookup/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + nslookup.c + utility.c + nslookup.rc) + +add_executable(nslookup ${SOURCE}) + +set_module_type(nslookup win32cui) +set_unicode(nslookup no) +add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt) +add_dependencies(nslookup psdk) Index: applications/network/ping/CmakeLists.txt =================================================================== --- applications/network/ping/CmakeLists.txt (revision 0) +++ applications/network/ping/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ +add_definitions(-D__USE_W32_SOCKETS) + +list(APPEND SOURCE + ping.c + ping.rc) + +add_executable(ping ${SOURCE}) + +set_module_type(ping win32cui) +set_unicode(ping no) +add_importlibs(ping ws2_32 msvcrt) +add_dependencies(ping psdk) Index: applications/network/route/CmakeLists.txt =================================================================== --- applications/network/route/CmakeLists.txt (revision 0) +++ applications/network/route/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + route.c + route.rc) + +add_executable(route ${SOURCE}) + +set_module_type(route win32cui) +set_unicode(route yes) +add_importlibs(route ws2_32 iphlpapi msvcrt) +add_dependencies(route psdk) Index: applications/network/telnet/CmakeLists.txt =================================================================== --- applications/network/telnet/CmakeLists.txt (revision 0) +++ applications/network/telnet/CmakeLists.txt (revision 0) @@ -0,0 +1,30 @@ +add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE) + +list(APPEND SOURCE + src/ansiprsr.cpp + src/keytrans.cpp + src/tcharmap.cpp + src/tconsole.cpp + src/tkeydef.cpp + src/tkeymap.cpp + src/tmapldr.cpp + src/tmouse.cpp + src/tnclass.cpp + src/tnclip.cpp + src/tncon.cpp + src/tnconfig.cpp + src/tnerror.cpp + src/tnetwork.cpp + src/tnmain.cpp + src/tnmisc.cpp + src/tscript.cpp + src/tscroll.cpp + src/ttelhndl.cpp + telnet.rc) + +add_executable(telnet ${SOURCE}) + +set_module_type(telnet win32cui) +set_unicode(telnet no) +add_importlibs(telnet ws2_32 user32 msvcrt) +add_dependencies(telnet psdk) Index: applications/network/tracert/CmakeLists.txt =================================================================== --- applications/network/tracert/CmakeLists.txt (revision 0) +++ applications/network/tracert/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ +add_definitions(-D__USE_W32_SOCKETS) + +list(APPEND SOURCE + tracert.c + tracert.rc) + +add_executable(tracert ${SOURCE}) + +set_module_type(tracert win32cui) +set_unicode(tracert no) +add_importlibs(tracert ws2_32 msvcrt) +add_dependencies(tracert psdk) Index: applications/network/whois/CmakeLists.txt =================================================================== --- applications/network/whois/CmakeLists.txt (revision 0) +++ applications/network/whois/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + whois.c + whois.rc) + +add_executable(whois ${SOURCE}) + +set_module_type(whois win32cui) +set_unicode(whois no) +add_importlibs(whois ws2_32 msvcrt) +add_dependencies(whois psdk) Index: applications/notepad/CmakeLists.txt =================================================================== --- applications/notepad/CmakeLists.txt (revision 0) +++ applications/notepad/CmakeLists.txt (revision 0) @@ -0,0 +1,17 @@ +set_rc_compiler() + +list(APPEND SOURCE + dialog.c + main.c + text.c + settings.c + rsrc.rc) + +add_executable(notepad ${SOURCE}) + +add_pch(notepad ${CMAKE_CURRENT_SOURCE_DIR}/notepad.h ${SOURCE}) + +set_module_type(notepad win32gui) +set_unicode(notepad yes) +add_importlibs(notepad user32 gdi32 comdlg32 comctl32 advapi32 shell32 msvcrt) +add_dependencies(notepad psdk) Index: applications/paint/CmakeLists.txt =================================================================== --- applications/paint/CmakeLists.txt (revision 0) +++ applications/paint/CmakeLists.txt (revision 0) @@ -0,0 +1,23 @@ + +list(APPEND SOURCE + dialogs.c + dib.c + drawing.c + history.c + main.c + mouse.c + palette.c + registry.c + selection.c + sizebox.c + toolsettings.c + winproc.c + rsrc.rc) + +add_executable(paint ${SOURCE}) + + +set_module_type(paint win32gui) +set_unicode(paint yes) +add_importlibs(paint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt) +add_dependencies(paint psdk) Index: applications/rapps/CmakeLists.txt =================================================================== --- applications/rapps/CmakeLists.txt (revision 0) +++ applications/rapps/CmakeLists.txt (revision 0) @@ -0,0 +1,28 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/reactos) + +list(APPEND SOURCE + aboutdlg.c + available.c + installdlg.c + installed.c + listview.c + loaddlg.c + misc.c + parser.c + richedit.c + settingsdlg.c + splitter.c + statusbar.c + toolbar.c + treeview.c + winmain.c + rapps.rc) + +MACRO_ADD_MESSAGE_HEADERS(rappsmsg.mc) + +add_executable(rapps ${SOURCE}) + +set_module_type(rapps win32gui) +set_unicode(rapps yes) +add_importlibs(rapps advapi32 comctl32 gdi32 urlmon user32 uuid shell32 shlwapi ntdll) +add_dependencies(rapps psdk) Index: applications/regedit/clb/CmakeLists.txt =================================================================== --- applications/regedit/clb/CmakeLists.txt (revision 0) +++ applications/regedit/clb/CmakeLists.txt (revision 0) @@ -0,0 +1,19 @@ + +list(APPEND SOURCE + clb.c + clb.rc) + +add_library(clb SHARED + ${SOURCE}) + +add_pch(clb ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_unicode(clb yes) +spec2def(clb ${CMAKE_CURRENT_SOURCE_DIR}/clb.spec${CMAKE_CURRENT_BINARY_DIR}/clb.def) +target_link_libraries(clb ${CMAKE_CURRENT_BINARY_DIR}/clb.def + ntdll + user32 + gdi32 + comctl32) + +add_dependencies(clb psdk) Index: applications/regedit/CmakeLists.txt =================================================================== --- applications/regedit/CmakeLists.txt (revision 0) +++ applications/regedit/CmakeLists.txt (revision 0) @@ -0,0 +1,31 @@ +add_definitions(-DUNICODE) +add_definitions(-D_UNICODE) + + +list(APPEND SOURCE + about.c + childwnd.c + edit.c + find.c + framewnd.c + hexedit.c + listview.c + main.c + regedit.c + regproc.c + security.c + treeview.c + regedit.rc) + +add_pch(regedit ${CMAKE_CURRENT_SOURCE_DIR}/regedit.h ${SOURCE}) + +add_executable(regedit ${SOURCE}) + +set_module_type(regedit win32gui) + +set_unicode(regedit no) + +add_importlibs(regedit uuid user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt) + +add_dependencies(regedit psdk) + Index: applications/regedt32/CmakeLists.txt =================================================================== --- applications/regedt32/CmakeLists.txt (revision 0) +++ applications/regedt32/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + regedt32.c + resource.rc) + +add_executable(regedt32 ${SOURCE}) + + +set_module_type(regedt32 win32gui) +set_unicode(regedt32 yes) +add_importlibs(regedt32 shell32 shlwapi msvcrt) +add_dependencies(regedt32 psdk) Index: applications/sc/CmakeLists.txt =================================================================== --- applications/sc/CmakeLists.txt (revision 0) +++ applications/sc/CmakeLists.txt (revision 0) @@ -0,0 +1,21 @@ +add_definitions(-DDEFINE_GUID) + +list(APPEND SOURCE + control.c + create.c + delete.c + print.c + query.c + sc.c + start.c + usage.c + sc.rc) + +add_executable(sc ${SOURCE}) + +add_pch(sc ${CMAKE_CURRENT_SOURCE_DIR}/sc.h ${SOURCE}) + +set_module_type(sc win32cui) +set_unicode(sc yes) +add_importlibs(sc advapi32 msvcrt) +add_dependencies(sc psdk) Index: applications/screensavers/CMakeLists.txt =================================================================== --- applications/screensavers/CMakeLists.txt (revision 0) +++ applications/screensavers/CMakeLists.txt (revision 0) @@ -0,0 +1,4 @@ + +#add_subdirectory(3dtext) +#add_subdirectory(logon) + Index: applications/shutdown/CmakeLists.txt =================================================================== --- applications/shutdown/CmakeLists.txt (revision 0) +++ applications/shutdown/CmakeLists.txt (revision 0) @@ -0,0 +1,14 @@ + +list(APPEND SOURCE + misc.c + shutdown.c + shutdown.rc) + +add_executable(shutdown ${SOURCE}) + +add_pch(shutdown ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(shutdown win32cui) +set_unicode(shutdown no) +add_importlibs(shutdown advapi32 user32 msvcrt) +add_dependencies(shutdown psdk) Index: applications/sndrec32/CmakeLists.txt =================================================================== --- applications/sndrec32/CmakeLists.txt (revision 0) +++ applications/sndrec32/CmakeLists.txt (revision 0) @@ -0,0 +1,19 @@ + +list(APPEND SOURCE + audio_format.cpp + audio_membuffer.cpp + audio_producer.cpp + audio_receiver.cpp + audio_resampler_acm.cpp + audio_wavein.cpp + audio_waveout.cpp + sndrec32.cpp + rsrc.rc) + +add_executable(sndrec32 ${SOURCE}) + + +set_module_type(sndrec32 win32gui) +set_unicode(sndrec32 no) +add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt) +add_dependencies(sndrec32 psdk) Index: applications/sndvol32/CmakeLists.txt =================================================================== --- applications/sndvol32/CmakeLists.txt (revision 0) +++ applications/sndvol32/CmakeLists.txt (revision 0) @@ -0,0 +1,16 @@ +include_directories(${REACTOS_SOURCE_DIR}include/wine) + +list(APPEND SOURCE + misc.c + mixer.c + sndvol32.c + sndvol32.rc) + +add_executable(sndvol32 ${SOURCE}) + +add_pch(sndvol32 ${CMAKE_CURRENT_SOURCE_DIR}/sndvol32.h ${SOURCE}) + +set_module_type(sndvol32 win32gui) +set_unicode(sndvol32 yes) +add_importlibs(sndvol32 ntdll user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt) +add_dependencies(sndvol32 psdk) Index: applications/taskmgr/CmakeLists.txt =================================================================== --- applications/taskmgr/CmakeLists.txt (revision 0) +++ applications/taskmgr/CmakeLists.txt (revision 0) @@ -0,0 +1,30 @@ + +list(APPEND SOURCE + about.c + affinity.c + applpage.c + column.c + dbgchnl.c + debug.c + endproc.c + graph.c + optnmenu.c + perfdata.c + perfpage.c + priority.c + procpage.c + proclist.c + run.c + trayicon.c + taskmgr.c + graphctl.c + taskmgr.rc) + +add_executable(taskmgr ${SOURCE}) + +add_pch(taskmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +set_module_type(taskmgr win32gui) +set_unicode(taskmgr yes) +add_importlibs(taskmgr ntdll advapi32 user32 gdi32 shell32 comctl32 msvcrt) +add_dependencies(taskmgr psdk) Index: applications/winhlp32/CmakeLists.txt =================================================================== --- applications/winhlp32/CmakeLists.txt (revision 0) +++ applications/winhlp32/CmakeLists.txt (revision 0) @@ -0,0 +1,24 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) + +add_definitions(-D__ROS_LONG64__) +add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE) +add_definitions(-Dfileno=_fileno) +add_definitions(-Disatty=_isatty) + +list(APPEND SOURCE + callback.c + hlpfile.c + macro.c + string.c + winhelp.c + lex.yy.c + rsrc.rc) + +add_executable(winhlp32 ${SOURCE}) + +set_module_type(winhlp32 win32gui) +set_unicode(winhlp32 no) +add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt) + +target_link_libraries(winhlp32 wine) +add_dependencies(winhlp32 psdk) Index: applications/winver/CmakeLists.txt =================================================================== --- applications/winver/CmakeLists.txt (revision 0) +++ applications/winver/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + winver.c) + +add_executable(winver ${SOURCE}) + + +set_module_type(winver win32gui) +set_unicode(winver yes) +add_importlibs(winver shell32 msvcrt) +add_dependencies(winver psdk) Index: applications/wordpad/CmakeLists.txt =================================================================== --- applications/wordpad/CmakeLists.txt (revision 0) +++ applications/wordpad/CmakeLists.txt (revision 0) @@ -0,0 +1,19 @@ + +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) + +add_definitions(-D__ROS_LONG64__) + +list(APPEND SOURCE + olecallback.c + print.c + registry.c + wordpad.c + rsrc.rc) + +add_executable(wordpad ${SOURCE}) + +set_module_type(wordpad win32gui) +set_unicode(wordpad no) +add_importlibs(wordpad comdlg32 uuid ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt) +target_link_libraries(wordpad wine) +add_dependencies(wordpad psdk) Index: applications/write/CmakeLists.txt =================================================================== --- applications/write/CmakeLists.txt (revision 0) +++ applications/write/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + write.c + rsrc.rc) + +add_executable(write ${SOURCE}) + + +set_module_type(write win32gui) +set_unicode(write yes) +add_importlibs(write user32 gdi32 msvcrt) +add_dependencies(write psdk) Index: CMakeLists.txt =================================================================== --- CMakeLists.txt (revision 48959) +++ CMakeLists.txt (working copy) @@ -1,6 +1,6 @@ add_subdirectory(applications) -#add_subdirectory(services) +add_subdirectory(services) add_subdirectory(setup) add_subdirectory(shell) -#add_subdirectory(system) +add_subdirectory(system) Index: services/audiosrv/CmakeLists.txt =================================================================== --- services/audiosrv/CmakeLists.txt (revision 0) +++ services/audiosrv/CmakeLists.txt (revision 0) @@ -0,0 +1,18 @@ + +list(APPEND SOURCE + main.c + pnp_list_manager.c + pnp_list_lock.c + pnp.c + services.c + debug.c + audiosrv.rc) + +add_executable(audiosrv ${SOURCE}) + + +set_module_type(audiosrv win32cui) +set_unicode(audiosrv yes) + +add_importlibs(audiosrv advapi32 user32 setupapi msvcrt) +add_dependencies(audiosrv psdk) Index: services/CMakeLists.txt =================================================================== --- services/CMakeLists.txt (revision 48959) +++ services/CMakeLists.txt (working copy) @@ -1,11 +1,11 @@ -#add_subdirectory(audiosrv) +add_subdirectory(audiosrv) #add_subdirectory(eventlog) #add_subdirectory(rpcss) -#add_subdirectory(spoolsv) -#add_subdirectory(svchost) -#add_subdirectory(tcpsvcs) -#add_subdirectory(telnetd) -#add_subdirectory(tftpd) +add_subdirectory(spoolsv) +add_subdirectory(svchost) +add_subdirectory(tcpsvcs) +add_subdirectory(telnetd) +add_subdirectory(tftpd) #add_subdirectory(umpnpmgr) #add_subdirectory(wlansvc) Index: services/eventlog/CmakeLists.txt =================================================================== --- services/eventlog/CmakeLists.txt (revision 0) +++ services/eventlog/CmakeLists.txt (revision 0) @@ -0,0 +1,19 @@ + +list(APPEND SOURCE + eventlog.c + logport.c + eventlog.rc + rpc.c + file.c) + +add_executable(eventlog ${SOURCE}) + +add_pch(eventlog ${CMAKE_CURRENT_SOURCE_DIR}/eventlog.h ${SOURCE}) + +set_module_type(eventlog win32cui) +set_unicode(eventlog yes) + +add_importlibs(eventlog ntdll advapi32 rpcrt4 msvcrt) +target_link_libraries(eventlog pseh eventlogrpc_server) + +add_dependencies(eventlog psdk) Index: services/spoolsv/CmakeLists.txt =================================================================== --- services/spoolsv/CmakeLists.txt (revision 0) +++ services/spoolsv/CmakeLists.txt (revision 0) @@ -0,0 +1,15 @@ + +list(APPEND SOURCE + spoolsv.c + spoolsv.rc) + +add_executable(spoolsv ${SOURCE}) + + +set_module_type(spoolsv win32cui) +set_unicode(spoolsv yes) + +add_importlibs(spoolsv ntdll advapi32 msvcrt) +target_link_libraries(spoolsv wine) + +add_dependencies(spoolsv psdk) Index: services/svchost/CmakeLists.txt =================================================================== --- services/svchost/CmakeLists.txt (revision 0) +++ services/svchost/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + svchost.c + svchost.rc) + +add_executable(svchost ${SOURCE}) + + +set_module_type(svchost win32cui) +set_unicode(svchost no) +add_importlibs(svchost advapi32 msvcrt) +add_dependencies(svchost psdk) Index: services/tcpsvcs/CmakeLists.txt =================================================================== --- services/tcpsvcs/CmakeLists.txt (revision 0) +++ services/tcpsvcs/CmakeLists.txt (revision 0) @@ -0,0 +1,20 @@ + +list(APPEND SOURCE + tcpsvcs.c + skelserver.c + echo.c + discard.c + daytime.c + qotd.c + chargen.c + tcpsvcs.rc + log.c) + +add_executable(tcpsvcs ${SOURCE}) + +add_pch(tcpsvcs ${CMAKE_CURRENT_SOURCE_DIR}/tcpsvcs.h ${SOURCE}) + +set_module_type(tcpsvcs win32cui) +set_unicode(tcpsvcs yes) +add_importlibs(tcpsvcs ws2_32 advapi32 msvcrt) +add_dependencies(tcpsvcs psdk) Index: services/telnetd/CmakeLists.txt =================================================================== --- services/telnetd/CmakeLists.txt (revision 0) +++ services/telnetd/CmakeLists.txt (revision 0) @@ -0,0 +1,16 @@ +include_directories(${REACTOS_SOURCE_DIR}) +include_directories(${REACTOS_SOURCE_DIR}..) + +list(APPEND SOURCE + telnetd.c + serviceentry.c + telnetd.rc) + +add_executable(telnetd ${SOURCE}) + + +set_module_type(telnetd win32cui) +set_unicode(telnetd no) +add_importlibs(telnetd ntdll advapi32 ws2_32 msvcrt) +target_link_libraries(telnetd wine) +add_dependencies(telnetd psdk) Index: services/tftpd/CmakeLists.txt =================================================================== --- services/tftpd/CmakeLists.txt (revision 0) +++ services/tftpd/CmakeLists.txt (revision 0) @@ -0,0 +1,14 @@ +include_directories(${REACTOS_SOURCE_DIR}) +include_directories(${REACTOS_SOURCE_DIR}..) + +list(APPEND SOURCE + tftpd.cpp) + +add_executable(tftpd ${SOURCE}) + + +set_module_type(tftpd win32cui) +set_unicode(tftpd no) +add_importlibs(tftpd ntdll advapi32 ws2_32 msvcrt) +target_link_libraries(tftpd wine) +add_dependencies(tftpd psdk) Index: setup/CMakeLists.txt =================================================================== --- setup/CMakeLists.txt (revision 48959) +++ setup/CMakeLists.txt (working copy) @@ -1,6 +1,6 @@ -#add_subdirectory(reactos) -#add_subdirectory(setup) +add_subdirectory(reactos) +add_subdirectory(setup) add_subdirectory(usetup) -#add_subdirectory(vmwinst) -#add_subdirectory(welcome) +add_subdirectory(vmwinst) +add_subdirectory(welcome) Index: setup/reactos/CmakeLists.txt =================================================================== --- setup/reactos/CmakeLists.txt (revision 0) +++ setup/reactos/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + reactos.c + reactos.rc) + +add_executable(reactos ${SOURCE}) + +set_module_type(reactos win32gui) +set_unicode(reactos yes) + +add_importlibs(reactos gdi32 user32 comctl32 setupapi uuid msvcrt) +add_dependencies(reactos psdk) Index: setup/setup/CmakeLists.txt =================================================================== --- setup/setup/CmakeLists.txt (revision 0) +++ setup/setup/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + setup.c + setup.rc) + +add_executable(setup ${SOURCE}) + +set_module_type(setup win32gui) +set_unicode(setup yes) + +add_importlibs(setup userenv msvcrt) +add_dependencies(setup psdk) Index: setup/usetup/CMakeLists.txt =================================================================== --- setup/usetup/CMakeLists.txt (revision 48959) +++ setup/usetup/CMakeLists.txt (working copy) @@ -3,20 +3,20 @@ include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib) include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers) -add_executable(usetup WIN32 - interface/usetup.c - interface/devinst.c +list(APPEND SOURCE interface/consup.c - native/utils/keytrans.c + interface/devinst.c + interface/usetup.c native/utils/console.c - native/fslist.c + native/utils/keytrans.c native/console.c + native/fslist.c bootsup.c cabinet.c chkdsk.c drivesup.c - filesup.c filequeue.c + filesup.c format.c fslist.c genlist.c @@ -29,14 +29,8 @@ settings.c usetup.rc) -target_link_libraries(usetup - mingw_main - zlib - newinflib - ext2lib - vfatlib - mingw_common) +add_executable(usetup WIN32 ${SOURCE}) set_module_type(usetup nativecui) - +target_link_libraries(usetup mingw_common mingw_wmain zlib newinflib ext2lib vfatlib) add_dependencies(usetup psdk buildno_header) Index: setup/vmwinst/CmakeLists.txt =================================================================== --- setup/vmwinst/CmakeLists.txt (revision 0) +++ setup/vmwinst/CmakeLists.txt (revision 0) @@ -0,0 +1,14 @@ + +list(APPEND SOURCE + vmwinst.c + vmwinst.rc) + +add_executable(vmwinst ${SOURCE}) + +set_module_type(vmwinst win32gui) +set_unicode(vmwinst yes) + +add_importlibs(vmwinst advapi32 comctl32 comdlg32 newdev user32 setupapi shell32 ntdll msvcrt) +target_link_libraries(vmwinst pseh) + +add_dependencies(vmwinst psdk) Index: setup/welcome/CmakeLists.txt =================================================================== --- setup/welcome/CmakeLists.txt (revision 0) +++ setup/welcome/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + welcome.c + welcome.rc) + +add_executable(welcome ${SOURCE}) + +set_module_type(welcome win32gui) +set_unicode(welcome yes) + +add_importlibs(welcome gdi32 user32 msvcrt) +add_dependencies(welcome psdk) Index: shell/CMakeLists.txt =================================================================== --- shell/CMakeLists.txt (revision 48959) +++ shell/CMakeLists.txt (working copy) @@ -1,4 +1,4 @@ add_subdirectory(cmd) #add_subdirectory(explorer) -#add_subdirectory(explorer_new) +#add_subdirectory(explorer-new) Index: shell/cmd/CMakeLists.txt =================================================================== --- shell/cmd/CMakeLists.txt (revision 48959) +++ shell/cmd/CMakeLists.txt (working copy) @@ -1,15 +1,10 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) - add_definitions(-DANONYMOUSUNIONS) add_definitions(-D_DEBUG_MEM) list(APPEND SOURCE cmd.rc - main.c) - -add_pch(cmd ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE) - -list(APPEND SOURCE + main.c alias.c assoc.c attrib.c @@ -70,8 +65,12 @@ where.c window.c) -add_executable(cmd ${CMAKE_CURRENT_BINARY_DIR}/cmd_precomp.h.gch ${SOURCE}) +add_executable(cmd ${SOURCE}) + +add_pch(cmd ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE) + set_module_type(cmd win32cui) set_unicode(cmd yes) -target_link_libraries(cmd oldnames wine) -add_importlibs(cmd advapi32 user32 msvcrt) \ No newline at end of file +add_importlibs(cmd advapi32 user32 msvcrt) +target_link_libraries(cmd wine) +add_dependencies(cmd psdk) Index: shell/explorer/CMakeLists.txt =================================================================== --- shell/explorer/CMakeLists.txt (revision 48959) +++ shell/explorer/CMakeLists.txt (working copy) @@ -1,70 +1,51 @@ add_subdirectory(notifyhook) - -add_definitions(-DUNICODE -D_UNICODE) add_definitions(-DWIN32) add_definitions(-D__WINDRES__) -#add_pch(explorer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}) - list(APPEND SOURCE - shell/mainframe.cpp - shell/unixfs.cpp - shell/ntobjfs.cpp + desktop/desktop.cpp + dialogs/searchprogram.cpp + dialogs/settings.cpp + shell/entries.cpp + shell/fatfs.cpp shell/filechild.cpp shell/shellfs.cpp - shell/fatfs.cpp + shell/mainframe.cpp + shell/ntobjfs.cpp shell/pane.cpp shell/regfs.cpp - shell/webchild.cpp - shell/entries.cpp shell/shellbrowser.cpp + shell/unixfs.cpp + shell/webchild.cpp shell/winfs.cpp - dialogs/searchprogram.cpp - dialogs/settings.cpp - i386-stub-win32.c - taskbar/taskbar.cpp - taskbar/favorites.cpp - taskbar/quicklaunch.cpp + services/shellservices.cpp + services/startup.c taskbar/desktopbar.cpp + taskbar/favorites.cpp + taskbar/taskbar.cpp taskbar/startmenu.cpp taskbar/traynotify.cpp - precomp.cpp - services/startup.c - services/shellservices.cpp - desktop/desktop.cpp - explorer.cpp - utility/xs-native.cpp + taskbar/quicklaunch.cpp utility/shellclasses.cpp - utility/dragdropimpl.cpp utility/utility.cpp - utility/xmlstorage.cpp - utility/splitpath.c utility/window.cpp - utility/shellbrowserimpl.cpp) # utility/shelltests.cpp + utility/dragdropimpl.cpp + utility/shellbrowserimpl.cpp + utility/xmlstorage.cpp + utility/xs-native.cpp + explorer.cpp + i386-stub-win32.c + explorer.rc) +add_executable(explorer ${SOURCE}) -add_executable(explorer ${SOURCE}) #${CMAKE_CURRENT_BINARY_DIR}/explorer_precomp.h.gch ${SOURCE}) +add_pch(explorer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) set_module_type(explorer win32gui) +set_unicode(explorer yes) -target_link_libraries(explorer - mingw_wmain - mingw_common - coldname - oldnames - wine - uuid) +target_link_libraries(explorer wine uuid) -add_importlibs(explorer - advapi32 - gdi32 - user32 - ws2_32 - msimg32 - comctl32 - ole32 - oleaut32 - shell32 - notifyhook - msvcrt) +add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 notifyhook msvcrt) + +add_dependencies(explorer psdk notifyhook) Index: shell/explorer/notifyhook/CMakeLists.txt =================================================================== --- shell/explorer/notifyhook/CMakeLists.txt (revision 48959) +++ shell/explorer/notifyhook/CMakeLists.txt (working copy) @@ -1,10 +1,9 @@ add_definitions(-D_NOTIFYHOOK_IMPL) -add_library(notifyhook SHARED notifyhook.c ${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.rc) +add_library(notifyhook SHARED notifyhook.c notifyhook.rc) set_module_type(notifyhook win32dll) -target_link_libraries(notifyhook - ${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.def - -lkernel32 - -luser32) \ No newline at end of file +target_link_libraries(notifyhook ${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.def) + +add_importlibs(notifyhook kernel32 user32) \ No newline at end of file Index: system/autochk/CmakeLists.txt =================================================================== --- system/autochk/CmakeLists.txt (revision 0) +++ system/autochk/CmakeLists.txt (revision 0) @@ -0,0 +1,10 @@ + +list(APPEND SOURCE + autochk.c + autochk.rc) + +add_executable(autochk WIN32 ${SOURCE}) + +set_module_type(autochk nativecui) +add_importlibs(autochk ntdll) +target_link_libraries(autochk mingw_common mingw_wmain nt) Index: system/bootok/CmakeLists.txt =================================================================== --- system/bootok/CmakeLists.txt (revision 0) +++ system/bootok/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + bootok.c + bootok.rc) + +add_executable(bootok ${SOURCE}) + +set_module_type(bootok win32cui) +set_unicode(bootok yes) +add_importlibs(bootok advapi32 msvcrt) +add_dependencies(bootok psdk) Index: system/CMakeLists.txt =================================================================== --- system/CMakeLists.txt (revision 48959) +++ system/CMakeLists.txt (working copy) @@ -1,14 +1,14 @@ -#add_subdirectory(autochk) -#add_subdirectory(bootok) -#add_subdirectory(expand) +add_subdirectory(autochk) +add_subdirectory(bootok) +add_subdirectory(expand) #add_subdirectory(format) #add_subdirectory(lsass) #add_subdirectory(msiexec) -#add_subdirectory(regsvr32) -#add_subdirectory(rundll32) -#add_subdirectory(runonce) +add_subdirectory(regsvr32) +add_subdirectory(rundll32) +add_subdirectory(runonce) #add_subdirectory(services) -#add_subdirectory(smss) -#add_subdirectory(userinit) -#add_subdirectory(winlogon) +add_subdirectory(smss) +add_subdirectory(userinit) +add_subdirectory(winlogon) Index: system/expand/CmakeLists.txt =================================================================== --- system/expand/CmakeLists.txt (revision 0) +++ system/expand/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) + +list(APPEND SOURCE + expand.c + expand.rc) + +add_executable(expand ${SOURCE}) + +set_module_type(expand win32cui) +set_unicode(expand no) +add_importlibs(expand lz32 setupapi user32 msvcrt) +add_dependencies(expand psdk) Index: system/format/CmakeLists.txt =================================================================== --- system/format/CmakeLists.txt (revision 0) +++ system/format/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + format.rc + format.c) + +add_executable(format ${SOURCE}) + +set_module_type(format win32cui) +set_unicode(format no) +add_importlibs(format ntdll user32 fmifs msvcrt) +add_dependencies(format psdk) Index: system/format/lang/bg-BG.rc =================================================================== --- system/format/lang/bg-BG.rc (revision 48959) +++ system/format/lang/bg-BG.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/cs-CZ.rc =================================================================== --- system/format/lang/cs-CZ.rc (revision 48959) +++ system/format/lang/cs-CZ.rc (working copy) @@ -3,7 +3,6 @@ * UPDATED: 2008-04-21 */ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/de-DE.rc =================================================================== --- system/format/lang/de-DE.rc (revision 48959) +++ system/format/lang/de-DE.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/format/lang/el-GR.rc =================================================================== --- system/format/lang/el-GR.rc (revision 48959) +++ system/format/lang/el-GR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * * ÅëëçíéêÞ ìåôÜöñáóç - Áðüóôïëïò ÁëåîéÜäçò Index: system/format/lang/en-US.rc =================================================================== --- system/format/lang/en-US.rc (revision 48959) +++ system/format/lang/en-US.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/es-ES.rc =================================================================== --- system/format/lang/es-ES.rc (revision 48959) +++ system/format/lang/es-ES.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* *Spanish Language resource file * Traducido por: Javier Remacha 2007-12-19 Index: system/format/lang/fr-FR.rc =================================================================== --- system/format/lang/fr-FR.rc (revision 48959) +++ system/format/lang/fr-FR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/hu-HU.rc =================================================================== --- system/format/lang/hu-HU.rc (revision 48959) +++ system/format/lang/hu-HU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/id-ID.rc =================================================================== --- system/format/lang/id-ID.rc (revision 48959) +++ system/format/lang/id-ID.rc (working copy) @@ -1,5 +1,3 @@ -#include "resource.h" - LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/format/lang/it-IT.rc =================================================================== --- system/format/lang/it-IT.rc (revision 48959) +++ system/format/lang/it-IT.rc (working copy) @@ -1,5 +1,3 @@ -#include "resource.h" - LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL /* Index: system/format/lang/ja-JP.rc =================================================================== --- system/format/lang/ja-JP.rc (revision 48959) +++ system/format/lang/ja-JP.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/lt-LT.rc =================================================================== --- system/format/lang/lt-LT.rc (revision 48959) +++ system/format/lang/lt-LT.rc (working copy) @@ -1,7 +1,5 @@ /* Translation by Vytis 'CMan' Girdþijauskas cman@cman.us */ -#include "resource.h" - LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/format/lang/no-NO.rc =================================================================== --- system/format/lang/no-NO.rc (revision 48959) +++ system/format/lang/no-NO.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 Index: system/format/lang/pl-PL.rc =================================================================== --- system/format/lang/pl-PL.rc (revision 48959) +++ system/format/lang/pl-PL.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * translated by xrogers (http://rogers.cyberdusk.pl/) * xxrogers@users.sourceforge.net Index: system/format/lang/ru-RU.rc =================================================================== --- system/format/lang/ru-RU.rc (revision 48959) +++ system/format/lang/ru-RU.rc (working copy) @@ -1,7 +1,5 @@ // Russian language resource file (Dmitry Chapyshev, 2007-06-10) -#include "resource.h" - LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/format/lang/sk-SK.rc =================================================================== --- system/format/lang/sk-SK.rc (revision 48959) +++ system/format/lang/sk-SK.rc (working copy) @@ -3,8 +3,6 @@ * LAST CHANGE: 08-08-2008 */ -#include "resource.h" - LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/format/lang/uk-UA.rc =================================================================== --- system/format/lang/uk-UA.rc (revision 48959) +++ system/format/lang/uk-UA.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * PROJECT: ReactOS CMD Format. * LICENSE: GPL - See COPYING in the top level directory Index: system/lsass/CmakeLists.txt =================================================================== --- system/lsass/CmakeLists.txt (revision 0) +++ system/lsass/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys) + +list(APPEND SOURCE + lsass.c + lsass.rc) + +add_executable(lsass ${SOURCE}) + +set_module_type(lsass win32gui) +set_unicode(lsass yes) +add_importlibs(lsass advapi32 ntdll lsasrv msvcrt) +add_dependencies(lsass psdk) Index: system/msiexec/CmakeLists.txt =================================================================== --- system/msiexec/CmakeLists.txt (revision 0) +++ system/msiexec/CmakeLists.txt (revision 0) @@ -0,0 +1,15 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/wine) +add_definitions(-D__WINESRC__) + +list(APPEND SOURCE + msiexec.c + service.c + rsrc.rc) + +add_executable(msiexec ${SOURCE}) + +set_module_type(msiexec win32gui) +set_unicode(msiexec no) +add_importlibs(msiexec uuid ntdll user32 advapi32 ole32 msi msvcrt) +target_link_libraries(msiexec wine) +add_dependencies(msiexec psdk) Index: system/regsvr32/CmakeLists.txt =================================================================== --- system/regsvr32/CmakeLists.txt (revision 0) +++ system/regsvr32/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + regsvr32.c + regsvr32.rc) + +add_executable(regsvr32 ${SOURCE}) + +set_module_type(regsvr32 win32gui) +set_unicode(regsvr32 yes) +add_importlibs(regsvr32 user32 shell32 ole32 msvcrt) +add_dependencies(regsvr32 psdk) Index: system/regsvr32/lang/bg-BG.rc =================================================================== --- system/regsvr32/lang/bg-BG.rc (revision 48959) +++ system/regsvr32/lang/bg-BG.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/regsvr32/lang/cs-CZ.rc =================================================================== --- system/regsvr32/lang/cs-CZ.rc (revision 48959) +++ system/regsvr32/lang/cs-CZ.rc (working copy) @@ -3,7 +3,6 @@ * UPDATED: 2008-04-21 */ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/de-DE.rc =================================================================== --- system/regsvr32/lang/de-DE.rc (revision 48959) +++ system/regsvr32/lang/de-DE.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * German language file by Klemens Friedl 2005-06-03 */ Index: system/regsvr32/lang/en-US.rc =================================================================== --- system/regsvr32/lang/en-US.rc (revision 48959) +++ system/regsvr32/lang/en-US.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/es-ES.rc =================================================================== --- system/regsvr32/lang/es-ES.rc (revision 48959) +++ system/regsvr32/lang/es-ES.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Spanish Language resource file * Traducido por: Javier Remacha 2007-12-20 Index: system/regsvr32/lang/fr-FR.rc =================================================================== --- system/regsvr32/lang/fr-FR.rc (revision 48959) +++ system/regsvr32/lang/fr-FR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/hu-HU.rc =================================================================== --- system/regsvr32/lang/hu-HU.rc (revision 48959) +++ system/regsvr32/lang/hu-HU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/id-ID.rc =================================================================== --- system/regsvr32/lang/id-ID.rc (revision 48959) +++ system/regsvr32/lang/id-ID.rc (working copy) @@ -2,8 +2,6 @@ * Indonesian language file by Zaenal Mutaqin 2007-02-15 */ -#include "resource.h" - LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/regsvr32/lang/it-IT.rc =================================================================== --- system/regsvr32/lang/it-IT.rc (revision 48959) +++ system/regsvr32/lang/it-IT.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/ja-JP.rc =================================================================== --- system/regsvr32/lang/ja-JP.rc (revision 48959) +++ system/regsvr32/lang/ja-JP.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/lt-LT.rc =================================================================== --- system/regsvr32/lang/lt-LT.rc (revision 48959) +++ system/regsvr32/lang/lt-LT.rc (working copy) @@ -1,6 +1,5 @@ /* Translation by Vytis 'CMan' Girdþijauskas cman@cman.us */ -#include "resource.h" LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/regsvr32/lang/nl-NL.rc =================================================================== --- system/regsvr32/lang/nl-NL.rc (revision 48959) +++ system/regsvr32/lang/nl-NL.rc (working copy) @@ -1,4 +1,3 @@ - #include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/no-NO.rc =================================================================== --- system/regsvr32/lang/no-NO.rc (revision 48959) +++ system/regsvr32/lang/no-NO.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/pl-PL.rc =================================================================== --- system/regsvr32/lang/pl-PL.rc (revision 48959) +++ system/regsvr32/lang/pl-PL.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * translated by xrogers (http://rogers.cyberdusk.pl/) * xxrogers@users.sourceforge.net Index: system/regsvr32/lang/pt-BR.rc =================================================================== --- system/regsvr32/lang/pt-BR.rc (revision 48959) +++ system/regsvr32/lang/pt-BR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/regsvr32/lang/ru-RU.rc =================================================================== --- system/regsvr32/lang/ru-RU.rc (revision 48959) +++ system/regsvr32/lang/ru-RU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/regsvr32/lang/uk-UA.rc =================================================================== --- system/regsvr32/lang/uk-UA.rc (revision 48959) +++ system/regsvr32/lang/uk-UA.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT Index: system/rundll32/CmakeLists.txt =================================================================== --- system/rundll32/CmakeLists.txt (revision 0) +++ system/rundll32/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + rundll32.c + rundll32.rc) + +add_executable(rundll32 ${SOURCE}) + +set_module_type(rundll32 win32gui) +set_unicode(rundll32 yes) +add_importlibs(rundll32 user32 msvcrt) +add_dependencies(rundll32 psdk) Index: system/rundll32/lang/bg-BG.rc =================================================================== --- system/rundll32/lang/bg-BG.rc (revision 48959) +++ system/rundll32/lang/bg-BG.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/rundll32/lang/cs-CZ.rc =================================================================== --- system/rundll32/lang/cs-CZ.rc (revision 48959) +++ system/rundll32/lang/cs-CZ.rc (working copy) @@ -3,7 +3,6 @@ * UPDATED: 2008-04-21 */ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/rundll32/lang/de-DE.rc =================================================================== --- system/rundll32/lang/de-DE.rc (revision 48959) +++ system/rundll32/lang/de-DE.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Translated into German. * By Rouven Wessling 2005 pentiumforever@gmail.com Index: system/rundll32/lang/el-GR.rc =================================================================== --- system/rundll32/lang/el-GR.rc (revision 48959) +++ system/rundll32/lang/el-GR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Gr.rc by Dj Apal® */ Index: system/rundll32/lang/en-US.rc =================================================================== --- system/rundll32/lang/en-US.rc (revision 48959) +++ system/rundll32/lang/en-US.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Moved all hardcoded strings to En.rc. * By Magnus Olsen 2005 magnus@itkonsult-olsen.com Index: system/rundll32/lang/es-ES.rc =================================================================== --- system/rundll32/lang/es-ES.rc (revision 48959) +++ system/rundll32/lang/es-ES.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/rundll32/lang/fr-FR.rc =================================================================== --- system/rundll32/lang/fr-FR.rc (revision 48959) +++ system/rundll32/lang/fr-FR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/rundll32/lang/hu-HU.rc =================================================================== --- system/rundll32/lang/hu-HU.rc (revision 48959) +++ system/rundll32/lang/hu-HU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Hungarian version is Copyright 2005 - Peter Nagy */ Index: system/rundll32/lang/id-ID.rc =================================================================== --- system/rundll32/lang/id-ID.rc (revision 48959) +++ system/rundll32/lang/id-ID.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT Index: system/rundll32/lang/it-IT.rc =================================================================== --- system/rundll32/lang/it-IT.rc (revision 48959) +++ system/rundll32/lang/it-IT.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/rundll32/lang/ja-JP.rc =================================================================== --- system/rundll32/lang/ja-JP.rc (revision 48959) +++ system/rundll32/lang/ja-JP.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/rundll32/lang/lt-LT.rc =================================================================== --- system/rundll32/lang/lt-LT.rc (revision 48959) +++ system/rundll32/lang/lt-LT.rc (working copy) @@ -1,7 +1,5 @@ /* Translation by Vytis 'CMan' Girdþijauskas cman@cman.us */ -#include "resource.h" - LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/rundll32/lang/nl-NL.rc =================================================================== --- system/rundll32/lang/nl-NL.rc (revision 48959) +++ system/rundll32/lang/nl-NL.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Translation done by Vertaald door Eric Janssen */ Index: system/rundll32/lang/no-NO.rc =================================================================== --- system/rundll32/lang/no-NO.rc (revision 48959) +++ system/rundll32/lang/no-NO.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/rundll32/lang/pl-PL.rc =================================================================== --- system/rundll32/lang/pl-PL.rc (revision 48959) +++ system/rundll32/lang/pl-PL.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * translated by xrogers (http://rogers.cyberdusk.pl/) * xxrogers@users.sourceforge.net Index: system/rundll32/lang/pt-BR.rc =================================================================== --- system/rundll32/lang/pt-BR.rc (revision 48959) +++ system/rundll32/lang/pt-BR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/rundll32/lang/ro-RO.rc =================================================================== --- system/rundll32/lang/ro-RO.rc (revision 48959) +++ system/rundll32/lang/ro-RO.rc (working copy) @@ -3,8 +3,6 @@ * Copyright (C) 2009 Petru Dimitriu (Romanian translation) */ -#include "resource.h" - LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/rundll32/lang/ru-RU.rc =================================================================== --- system/rundll32/lang/ru-RU.rc (revision 48959) +++ system/rundll32/lang/ru-RU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/rundll32/lang/sk-SK.rc =================================================================== --- system/rundll32/lang/sk-SK.rc (revision 48959) +++ system/rundll32/lang/sk-SK.rc (working copy) @@ -3,8 +3,6 @@ * LAST CHANGE: 18-09-2008 */ -#include "resource.h" - LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/rundll32/lang/th-TH.rc =================================================================== --- system/rundll32/lang/th-TH.rc (revision 48959) +++ system/rundll32/lang/th-TH.rc (working copy) @@ -4,8 +4,6 @@ * Copyright (C) 2006 Sumath Aowsakulsutthi (Thai translation) */ -#include "resource.h" - LANGUAGE LANG_THAI, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/rundll32/lang/uk-UA.rc =================================================================== --- system/rundll32/lang/uk-UA.rc (revision 48959) +++ system/rundll32/lang/uk-UA.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Artem Reznikov */ -#include "resource.h" - LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/runonce/CmakeLists.txt =================================================================== --- system/runonce/CmakeLists.txt (revision 0) +++ system/runonce/CmakeLists.txt (revision 0) @@ -0,0 +1,11 @@ + +list(APPEND SOURCE + runonce.c + runonce.rc) + +add_executable(runonce ${SOURCE}) + +set_module_type(runonce win32gui) +set_unicode(runonce yes) +add_importlibs(runonce advapi32 user32 msvcrt) +add_dependencies(runonce psdk) Index: system/services/CmakeLists.txt =================================================================== --- system/services/CmakeLists.txt (revision 0) +++ system/services/CmakeLists.txt (revision 0) @@ -0,0 +1,20 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys) + +list(APPEND SOURCE + config.c + database.c + driver.c + groupdb.c + rpcserver.c + services.c + services.rc) + +add_executable(services ${SOURCE}) + +add_pch(services ${CMAKE_CURRENT_SOURCE_DIR}/services.h ${SOURCE}) + +set_module_type(services win32cui) +set_unicode(services yes) +add_importlibs(services scm_server ntdll user32 advapi32 rpcrt4 msvcrt) +target_link_libraries(services pseh) +add_dependencies(services psdk) Index: system/smss/CmakeLists.txt =================================================================== --- system/smss/CmakeLists.txt (revision 0) +++ system/smss/CmakeLists.txt (revision 0) @@ -0,0 +1,31 @@ +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys) + +list(APPEND SOURCE + client.c + debug.c + init.c + initdosdev.c + initenv.c + initheap.c + initmv.c + initobdir.c + initpage.c + initreg.c + initrun.c + initss.c + initwkdll.c + print.c + smapi.c + smapicomp.c + smapiexec.c + smapiquery.c + smss.c + smss.rc) + +add_executable(smss WIN32 ${SOURCE}) + +add_pch(smss ${CMAKE_CURRENT_SOURCE_DIR}/smss.h ${SOURCE}) + +set_module_type(smss nativecui) +add_importlibs(smss ntdll) +target_link_libraries(smss mingw_common mingw_wmain nt smlib) Index: system/userinit/CmakeLists.txt =================================================================== --- system/userinit/CmakeLists.txt (revision 0) +++ system/userinit/CmakeLists.txt (revision 0) @@ -0,0 +1,12 @@ + +list(APPEND SOURCE + userinit.c + userinit.rc) + +add_executable(userinit ${SOURCE}) + +set_module_type(userinit win32gui) +set_unicode(userinit yes) +add_importlibs(userinit ntdll user32 gdi32 advapi32 shell32 shlwapi msvcrt) +target_link_libraries(userinit wine) +add_dependencies(userinit psdk) Index: system/userinit/lang/bg-BG.rc =================================================================== --- system/userinit/lang/bg-BG.rc (revision 48959) +++ system/userinit/lang/bg-BG.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/cs-CZ.rc =================================================================== --- system/userinit/lang/cs-CZ.rc (revision 48959) +++ system/userinit/lang/cs-CZ.rc (working copy) @@ -3,7 +3,6 @@ * UPDATED: 2008-04-21 */ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/de-DE.rc =================================================================== --- system/userinit/lang/de-DE.rc (revision 48959) +++ system/userinit/lang/de-DE.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE Index: system/userinit/lang/el-GR.rc =================================================================== --- system/userinit/lang/el-GR.rc (revision 48959) +++ system/userinit/lang/el-GR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 * Greek Version by Dj Apal Index: system/userinit/lang/en-US.rc =================================================================== --- system/userinit/lang/en-US.rc (revision 48959) +++ system/userinit/lang/en-US.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/es-ES.rc =================================================================== --- system/userinit/lang/es-ES.rc (revision 48959) +++ system/userinit/lang/es-ES.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/fr-FR.rc =================================================================== --- system/userinit/lang/fr-FR.rc (revision 48959) +++ system/userinit/lang/fr-FR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to Fr.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/hu-HU.rc =================================================================== --- system/userinit/lang/hu-HU.rc (revision 48959) +++ system/userinit/lang/hu-HU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 * Hungarian version is Copyright 2005 - Peter Nagy Index: system/userinit/lang/id-ID.rc =================================================================== --- system/userinit/lang/id-ID.rc (revision 48959) +++ system/userinit/lang/id-ID.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT Index: system/userinit/lang/it-IT.rc =================================================================== --- system/userinit/lang/it-IT.rc (revision 48959) +++ system/userinit/lang/it-IT.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/ja-JP.rc =================================================================== --- system/userinit/lang/ja-JP.rc (revision 48959) +++ system/userinit/lang/ja-JP.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/lt-LT.rc =================================================================== --- system/userinit/lang/lt-LT.rc (revision 48959) +++ system/userinit/lang/lt-LT.rc (working copy) @@ -1,7 +1,5 @@ /* Translation by Vytis 'CMan' Girdþijauskas cman@cman.us */ -#include "resource.h" - LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE BEGIN Index: system/userinit/lang/nl-NL.rc =================================================================== --- system/userinit/lang/nl-NL.rc (revision 48959) +++ system/userinit/lang/nl-NL.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Dutch Language resource file * Translated by: Wouter De Vlieger Index: system/userinit/lang/no-NO.rc =================================================================== --- system/userinit/lang/no-NO.rc (revision 48959) +++ system/userinit/lang/no-NO.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/pl-PL.rc =================================================================== --- system/userinit/lang/pl-PL.rc (revision 48959) +++ system/userinit/lang/pl-PL.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * translated by xrogers (http://rogers.cyberdusk.pl/) * xxrogers@users.sourceforge.net Index: system/userinit/lang/pt-BR.rc =================================================================== --- system/userinit/lang/pt-BR.rc (revision 48959) +++ system/userinit/lang/pt-BR.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/ru-RU.rc =================================================================== --- system/userinit/lang/ru-RU.rc (revision 48959) +++ system/userinit/lang/ru-RU.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 */ Index: system/userinit/lang/sk-SK.rc =================================================================== --- system/userinit/lang/sk-SK.rc (revision 48959) +++ system/userinit/lang/sk-SK.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* Start move all hard code string to En.rc * By Magnus Olsen 2005 * Translated by Kario 2008 Index: system/userinit/lang/sv-SE.rc =================================================================== --- system/userinit/lang/sv-SE.rc (revision 48959) +++ system/userinit/lang/sv-SE.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" /* * Copyright 2005 David Nordenberg */ Index: system/userinit/lang/th-TH.rc =================================================================== --- system/userinit/lang/th-TH.rc (revision 48959) +++ system/userinit/lang/th-TH.rc (working copy) @@ -1,4 +1,3 @@ -#include "resource.h" LANGUAGE LANG_THAI, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/userinit/lang/uk-UA.rc =================================================================== --- system/userinit/lang/uk-UA.rc (revision 48959) +++ system/userinit/lang/uk-UA.rc (working copy) @@ -6,8 +6,6 @@ * TRANSLATOR: Artem Reznikov */ -#include "resource.h" - LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE Index: system/winlogon/CmakeLists.txt =================================================================== --- system/winlogon/CmakeLists.txt (revision 0) +++ system/winlogon/CmakeLists.txt (revision 0) @@ -0,0 +1,19 @@ + +list(APPEND SOURCE + environment.c + sas.c + screensaver.c + setup.c + winlogon.c + wlx.c + winlogon.rc) + +add_executable(winlogon ${SOURCE}) + +add_pch(winlogon ${CMAKE_CURRENT_SOURCE_DIR}/winlogon.h ${SOURCE}) + +set_module_type(winlogon win32gui) +set_unicode(winlogon no) +add_importlibs(winlogon ntdll user32 advapi32 userenv secur32 msvcrt) +target_link_libraries(winlogon wine) +add_dependencies(winlogon psdk)