Author: akhaldi
Date: Sat Feb 8 18:13:52 2014
New Revision: 62054
URL:
http://svn.reactos.org/svn/reactos?rev=62054&view=rev
Log:
[APPLICATIONS]
* Prepare the CMake scripts for PCH.
CORE-7716
Modified:
trunk/reactos/base/applications/calc/CMakeLists.txt
trunk/reactos/base/applications/charmap/CMakeLists.txt
trunk/reactos/base/applications/dxdiag/CMakeLists.txt
trunk/reactos/base/applications/fontview/CMakeLists.txt
trunk/reactos/base/applications/games/solitaire/CMakeLists.txt
trunk/reactos/base/applications/games/spider/CMakeLists.txt
trunk/reactos/base/applications/games/winmine/CMakeLists.txt
trunk/reactos/base/applications/logoff/CMakeLists.txt
trunk/reactos/base/applications/magnify/CMakeLists.txt
trunk/reactos/base/applications/mmc/CMakeLists.txt
trunk/reactos/base/applications/msconfig/CMakeLists.txt
trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt
trunk/reactos/base/applications/mscutils/servman/CMakeLists.txt
trunk/reactos/base/applications/mspaint/CMakeLists.txt
trunk/reactos/base/applications/mstsc/CMakeLists.txt
trunk/reactos/base/applications/network/finger/CMakeLists.txt
trunk/reactos/base/applications/network/ftp/CMakeLists.txt
trunk/reactos/base/applications/network/net/CMakeLists.txt
trunk/reactos/base/applications/network/nslookup/CMakeLists.txt
trunk/reactos/base/applications/network/telnet/CMakeLists.txt
trunk/reactos/base/applications/notepad/CMakeLists.txt
trunk/reactos/base/applications/rapps/CMakeLists.txt
trunk/reactos/base/applications/regedit/CMakeLists.txt
trunk/reactos/base/applications/sc/CMakeLists.txt
trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt
trunk/reactos/base/applications/shutdown/CMakeLists.txt
trunk/reactos/base/applications/sndrec32/CMakeLists.txt
trunk/reactos/base/applications/sndvol32/CMakeLists.txt
trunk/reactos/base/applications/taskmgr/CMakeLists.txt
trunk/reactos/base/applications/winhlp32/CMakeLists.txt
Modified: trunk/reactos/base/applications/calc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/CMa…
==============================================================================
--- trunk/reactos/base/applications/calc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/calc/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -1,19 +1,20 @@
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
-add_executable(calc
+list(APPEND SOURCE
about.c
convert.c
function.c
rpn.c
utl.c
winmain.c
- resource.rc)
+ calc.h)
+add_executable(calc ${SOURCE} resource.rc)
set_module_type(calc win32gui UNICODE)
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
if(MSVC)
add_importlibs(calc ntdll)
endif()
-add_pch(calc calc.h)
+add_pch(calc calc.h SOURCE)
add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/charmap/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/charmap/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -5,10 +5,10 @@
lrgcell.c
map.c
settings.c
- charmap.rc)
+ precomp.h)
-add_executable(charmap ${SOURCE})
+add_executable(charmap ${SOURCE} charmap.rc)
set_module_type(charmap win32gui UNICODE)
add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
-add_pch(charmap precomp.h)
+add_pch(charmap precomp.h SOURCE)
add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/dxdiag/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/C…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -8,16 +8,16 @@
network.c
help.c
dxdiag.c
- dxdiag.rc
ddtest.c
d3dtest.c
d3dtest7.c
d3dtest8.c
- d3dtest9.c)
+ d3dtest9.c
+ precomp.h)
-add_executable(dxdiag ${SOURCE})
+add_executable(dxdiag ${SOURCE} dxdiag.rc)
set_module_type(dxdiag win32gui UNICODE)
target_link_libraries(dxdiag dxguid)
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version
gdi32 winmm d3d9 msvcrt kernel32 ntdll)
-add_pch(dxdiag precomp.h)
+add_pch(dxdiag precomp.h SOURCE)
add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/fontview/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,9 +1,11 @@
-add_executable(fontview
+list(APPEND SOURCE
display.c
fontview.c
- fontview.rc)
+ precomp.h)
+add_executable(fontview ${SOURCE} fontview.rc)
set_module_type(fontview win32gui)
add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
+add_pch(fontview precomp.h SOURCE)
add_cd_file(TARGET fontview DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/games/solitaire/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/games/solitaire/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -3,14 +3,15 @@
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
-add_executable(sol
+list(APPEND SOURCE
solcreate.cpp
solgame.cpp
solitaire.cpp
- rsrc.rc)
+ solitaire.h)
+add_executable(sol ${SOURCE} rsrc.rc)
target_link_libraries(sol cardlib)
-add_pch(sol solitaire.h)
set_module_type(sol win32gui UNICODE)
add_importlibs(sol advapi32 comctl32 user32 gdi32 msvcrt kernel32)
+add_pch(sol solitaire.h SOURCE)
add_cd_file(TARGET sol DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/games/spider/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -5,13 +5,14 @@
${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib
${CMAKE_CURRENT_SOURCE_DIR})
-add_executable(spider
+list(APPEND SOURCE
spider.cpp
spigame.cpp
- rsrc.rc)
+ spider.h)
+add_executable(spider ${SOURCE} rsrc.rc)
target_link_libraries(spider cardlib)
-add_pch(spider spider.h)
+add_pch(spider spider.h SOURCE)
set_module_type(spider win32gui UNICODE)
add_importlibs(spider advapi32 comctl32 user32 gdi32 msvcrt kernel32)
add_cd_file(TARGET spider DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/games/winmine/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,12 +1,14 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-add_executable(winmine
+list(APPEND SOURCE
main.c
dialog.c
- rsrc.rc)
+ main.h)
+add_executable(winmine ${SOURCE} rsrc.rc)
set_module_type(winmine win32gui)
target_link_libraries(winmine wine)
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
+add_pch(winmine main.h SOURCE)
add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/logoff/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/logoff/C…
==============================================================================
--- trunk/reactos/base/applications/logoff/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/logoff/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -2,10 +2,10 @@
list(APPEND SOURCE
misc.c
logoff.c
- logoff.rc)
+ precomp.h)
-add_executable(logoff ${SOURCE})
+add_executable(logoff ${SOURCE} logoff.rc)
set_module_type(logoff win32cui)
add_importlibs(logoff advapi32 user32 msvcrt kernel32)
-add_pch(logoff precomp.h)
+add_pch(logoff precomp.h SOURCE)
add_cd_file(TARGET logoff DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/magnify/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/magnify/…
==============================================================================
--- trunk/reactos/base/applications/magnify/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/magnify/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,10 +1,11 @@
-add_executable(magnify
+list(APPEND SOURCE
magnifier.c
settings.c
- magnify.rc)
+ magnifier.h)
-add_pch(magnify magnifier.h)
+add_executable(magnify ${SOURCE} magnify.rc)
set_module_type(magnify win32gui)
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
+add_pch(magnify magnifier.h SOURCE)
add_cd_file(TARGET magnify DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/mmc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mmc/CMak…
==============================================================================
--- trunk/reactos/base/applications/mmc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mmc/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -3,9 +3,9 @@
console.c
misc.c
mmc.c
- mmc.rc)
+ precomp.h)
-add_executable(mmcclient ${SOURCE})
+add_executable(mmcclient ${SOURCE} mmc.rc)
set_module_type(mmcclient win32gui UNICODE)
add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt
kernel32)
-add_pch(mmcclient precomp.h)
+add_pch(mmcclient precomp.h SOURCE)
Modified: trunk/reactos/base/applications/msconfig/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/msconfig/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -7,10 +7,10 @@
freeldrpage.c
generalpage.c
msconfig.c
- msconfig.rc)
+ precomp.h)
-add_executable(msconfig ${SOURCE})
+add_executable(msconfig ${SOURCE} msconfig.rc)
set_module_type(msconfig win32gui UNICODE)
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt
kernel32)
-add_pch(msconfig precomp.h)
+add_pch(msconfig precomp.h SOURCE)
add_cd_file(TARGET msconfig DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt [iso-8859-1] Sat Feb
8 18:13:52 2014
@@ -5,10 +5,10 @@
enumdevices.c
mainwnd.c
misc.c
- devmgmt.rc)
+ precomp.h)
-add_executable(devmgmt ${SOURCE})
+add_executable(devmgmt ${SOURCE} devmgmt.rc)
set_module_type(devmgmt win32gui UNICODE)
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
-add_pch(devmgmt precomp.h)
+add_pch(devmgmt precomp.h SOURCE)
add_cd_file(TARGET devmgmt DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/mscutils/servman/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/servman/CMakeLists.txt [iso-8859-1] Sat Feb
8 18:13:52 2014
@@ -19,10 +19,10 @@
start.c
stop.c
stop_dependencies.c
- servman.rc)
+ precomp.h)
-add_executable(servman ${SOURCE})
+add_executable(servman ${SOURCE} servman.rc)
set_module_type(servman win32gui UNICODE)
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt
kernel32)
-add_pch(servman precomp.h)
+add_pch(servman precomp.h SOURCE)
add_cd_file(TARGET servman DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/mspaint/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,5 +1,5 @@
-add_executable(mspaint
+list(APPEND SOURCE
dialogs.c
dib.c
drawing.c
@@ -12,9 +12,10 @@
sizebox.c
toolsettings.c
winproc.c
- rsrc.rc)
+ precomp.h)
+add_executable(mspaint ${SOURCE} rsrc.rc)
set_module_type(mspaint win32gui UNICODE)
-add_pch(mspaint precomp.h)
add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
+add_pch(mspaint precomp.h SOURCE)
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/mstsc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mstsc/CM…
==============================================================================
--- trunk/reactos/base/applications/mstsc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mstsc/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -19,10 +19,10 @@
tcp.c
uimain.c
win32.c
- rdc.rc)
+ precomp.h)
-add_executable(mstsc ${SOURCE})
+add_executable(mstsc ${SOURCE} rdc.rc)
set_module_type(mstsc win32gui UNICODE)
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt
kernel32)
-add_pch(mstsc precomp.h)
+add_pch(mstsc precomp.h SOURCE)
add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/finger/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/finger/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/finger/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,14 +1,15 @@
add_definitions(-D__USE_W32_SOCKETS)
-add_executable(finger
+list(APPEND SOURCE
finger.c
err.c
getopt.c
net.c
- finger.rc)
+ precomp.h)
+add_executable(finger ${SOURCE} finger.rc)
set_module_type(finger win32cui)
-add_pch(finger precomp.h)
add_importlibs(finger ws2_32 msvcrt kernel32)
+add_pch(finger precomp.h SOURCE)
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/ftp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ftp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ftp/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,7 +1,7 @@
add_definitions(-Dlint)
-add_executable(ftp
+list(APPEND SOURCE
cmds.c
cmdtab.c
domacro.c
@@ -9,11 +9,12 @@
ftp.c
main.c
ruserpass.c
- ftp.rc)
+ precomp.h)
+add_executable(ftp ${SOURCE} ftp.rc)
set_module_type(ftp win32cui)
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
-add_pch(ftp precomp.h)
+add_pch(ftp precomp.h SOURCE)
if(MSVC)
target_link_libraries(ftp oldnames)
Modified: trunk/reactos/base/applications/network/net/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -8,11 +8,11 @@
cmdHelpMsg.c
cmdPause.c
cmdContinue.c
- help.c)
+ help.c
+ net.h)
add_executable(net ${SOURCE})
-
set_module_type(net win32cui UNICODE)
-add_pch(net net.h)
add_importlibs(net advapi32 msvcrt kernel32)
+add_pch(net net.h SOURCE)
add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/nslookup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/nslookup/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/network/nslookup/CMakeLists.txt [iso-8859-1] Sat Feb
8 18:13:52 2014
@@ -1,10 +1,11 @@
-add_executable(nslookup
+list(APPEND SOURCE
nslookup.c
utility.c
- nslookup.rc)
+ nslookup.h)
-add_pch(nslookup nslookup.h)
+add_executable(nslookup ${SOURCE} nslookup.rc)
set_module_type(nslookup win32cui)
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
+add_pch(nslookup nslookup.h SOURCE)
add_cd_file(TARGET nslookup DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/telnet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/telnet/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/telnet/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -3,7 +3,7 @@
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
-add_executable(telnet
+list(APPEND SOURCE
src/ansiprsr.cpp
src/keytrans.cpp
src/tcharmap.cpp
@@ -23,13 +23,14 @@
src/tscript.cpp
src/tscroll.cpp
src/ttelhndl.cpp
- telnet.rc)
-
-set_module_type(telnet win32cui)
-add_pch(telnet src/precomp.h)
-add_importlibs(telnet ws2_32 user32 msvcrt kernel32 ntdll)
-add_cd_file(TARGET telnet DESTINATION reactos/system32 FOR all)
+ precomp.h)
if(NOT MSVC)
add_compile_flags_language("-Wno-narrowing" "CXX")
endif()
+
+add_executable(telnet ${SOURCE} telnet.rc)
+set_module_type(telnet win32cui)
+add_importlibs(telnet ws2_32 user32 msvcrt kernel32 ntdll)
+add_pch(telnet precomp.h SOURCE)
+add_cd_file(TARGET telnet DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/notepad/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
==============================================================================
--- trunk/reactos/base/applications/notepad/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/notepad/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -4,10 +4,10 @@
main.c
settings.c
text.c
- rsrc.rc)
+ notepad.h)
-add_executable(notepad ${SOURCE})
+add_executable(notepad ${SOURCE} rsrc.rc)
set_module_type(notepad win32gui UNICODE)
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
-add_pch(notepad notepad.h)
+add_pch(notepad notepad.h SOURCE)
add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/rapps/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/CM…
==============================================================================
--- trunk/reactos/base/applications/rapps/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -15,13 +15,13 @@
toolbar.c
treeview.c
winmain.c
- rapps.rc)
+ rapps.h)
-add_executable(rapps ${SOURCE})
-add_pch(rapps rapps.h)
+add_executable(rapps ${SOURCE} rapps.rc)
set_module_type(rapps win32gui UNICODE)
target_link_libraries(rapps uuid)
add_importlibs(rapps advapi32 comctl32 gdi32 urlmon wininet user32 shell32 shlwapi ole32
msvcrt kernel32 ntdll)
+add_pch(rapps rapps.h SOURCE)
add_dependencies(rapps rappsmsg)
add_message_headers(ANSI rappsmsg.mc)
add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/regedit/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/…
==============================================================================
--- trunk/reactos/base/applications/regedit/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/regedit/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -16,12 +16,12 @@
security.c
settings.c
treeview.c
- regedit.rc)
+ regedit.h)
-add_executable(regedit ${SOURCE})
+add_executable(regedit ${SOURCE} regedit.rc)
set_module_type(regedit win32gui UNICODE)
target_link_libraries(regedit uuid)
add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi
msvcrt kernel32)
-add_pch(regedit regedit.h)
+add_pch(regedit regedit.h SOURCE)
add_cd_file(TARGET regedit DESTINATION reactos FOR all)
#add_subdirectory(clb)
Modified: trunk/reactos/base/applications/sc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sc/CMake…
==============================================================================
--- trunk/reactos/base/applications/sc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sc/CMakeLists.txt [iso-8859-1] Sat Feb 8 18:13:52
2014
@@ -10,11 +10,10 @@
sc.c
start.c
usage.c
- sc.rc)
+ sc.h)
-add_executable(sc ${SOURCE})
-
+add_executable(sc ${SOURCE} sc.rc)
set_module_type(sc win32cui UNICODE)
add_importlibs(sc advapi32 msvcrt kernel32)
-add_pch(sc sc.h)
+add_pch(sc sc.h SOURCE)
add_cd_file(TARGET sc DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt [iso-8859-1] Sat
Feb 8 18:13:52 2014
@@ -1,12 +1,13 @@
-add_executable(3dtext
+list(APPEND SOURCE
3dtext.c
settings.c
- rsrc.rc)
+ 3dtext.h)
+add_executable(3dtext ${SOURCE} rsrc.rc)
set_module_type(3dtext win32gui UNICODE)
-add_pch(3dtext 3dtext.h)
set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
target_link_libraries(3dtext scrnsave)
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
+add_pch(3dtext 3dtext.h SOURCE)
add_cd_file(TARGET 3dtext DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/shutdown/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/shutdown…
==============================================================================
--- trunk/reactos/base/applications/shutdown/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/shutdown/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -3,10 +3,10 @@
gui.c
misc.c
shutdown.c
- shutdown.rc)
+ precomp.h)
-add_executable(shutdown ${SOURCE})
+add_executable(shutdown ${SOURCE} shutdown.rc)
set_module_type(shutdown win32cui UNICODE)
add_importlibs(shutdown advapi32 user32 msvcrt powrprof kernel32)
-add_pch(shutdown precomp.h)
+add_pch(shutdown precomp.h SOURCE)
add_cd_file(TARGET shutdown DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/sndrec32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
==============================================================================
--- trunk/reactos/base/applications/sndrec32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sndrec32/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -1,7 +1,7 @@
set_cpp(WITH_RUNTIME)
-add_executable(sndrec32
+list(APPEND SOURCE
audio_format.cpp
audio_membuffer.cpp
#audio_producer.cpp
@@ -10,8 +10,10 @@
audio_wavein.cpp
audio_waveout.cpp
sndrec32.cpp
- rsrc.rc)
+ stdafx.h)
+add_executable(sndrec32 ${SOURCE} rsrc.rc)
set_module_type(sndrec32 win32gui UNICODE)
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt kernel32
shell32)
+add_pch(sndrec32 stdafx.h SOURCE)
add_cd_file(TARGET sndrec32 DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/sndvol32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndvol32…
==============================================================================
--- trunk/reactos/base/applications/sndvol32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sndvol32/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -4,10 +4,10 @@
misc.c
mixer.c
sndvol32.c
- sndvol32.rc)
+ sndvol32.h)
-add_executable(sndvol32 ${SOURCE})
+add_executable(sndvol32 ${SOURCE} sndvol32.rc)
set_module_type(sndvol32 win32gui UNICODE)
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32
ntdll)
-add_pch(sndvol32 sndvol32.h)
+add_pch(sndvol32 sndvol32.h SOURCE)
add_cd_file(TARGET sndvol32 DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/taskmgr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -18,10 +18,10 @@
trayicon.c
taskmgr.c
graphctl.c
- taskmgr.rc)
+ precomp.h)
-add_executable(taskmgr ${SOURCE})
+add_executable(taskmgr ${SOURCE} taskmgr.rc)
set_module_type(taskmgr win32gui UNICODE)
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
-add_pch(taskmgr precomp.h)
+add_pch(taskmgr precomp.h SOURCE)
add_cd_file(TARGET taskmgr DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/winhlp32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/winhlp32…
==============================================================================
--- trunk/reactos/base/applications/winhlp32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/winhlp32/CMakeLists.txt [iso-8859-1] Sat Feb 8
18:13:52 2014
@@ -12,11 +12,16 @@
hlpfile.c
macro.c
macro.lex.yy.c
+ winhelp.c
+ winhelp.h)
+
+add_executable(winhlp32
+ ${SOURCE}
string.c
- winhelp.c)
+ rsrc.rc)
-add_executable(winhlp32 ${SOURCE} rsrc.rc)
set_module_type(winhlp32 win32gui)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
+add_pch(winhlp32 winhelp.h SOURCE)
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)