Author: akhaldi
Date: Wed Jun 17 17:20:29 2015
New Revision: 68170
URL:
http://svn.reactos.org/svn/reactos?rev=68170&view=rev
Log:
[APPLICATIONS] Properly track resource file dependencies. CORE-9806
Modified:
trunk/reactos/base/applications/calc/CMakeLists.txt
trunk/reactos/base/applications/charmap/CMakeLists.txt
trunk/reactos/base/applications/control/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/hh/CMakeLists.txt
trunk/reactos/base/applications/iexplore/CMakeLists.txt
trunk/reactos/base/applications/kbswitch/CMakeLists.txt
trunk/reactos/base/applications/magnify/CMakeLists.txt
trunk/reactos/base/applications/mmc/CMakeLists.txt
trunk/reactos/base/applications/mplay32/CMakeLists.txt
trunk/reactos/base/applications/msconfig/CMakeLists.txt
trunk/reactos/base/applications/mscutils/devmgmt/CMakeLists.txt
trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt
trunk/reactos/base/applications/mspaint/CMakeLists.txt
trunk/reactos/base/applications/mspaint_new/CMakeLists.txt
trunk/reactos/base/applications/mstsc/CMakeLists.txt
trunk/reactos/base/applications/notepad/CMakeLists.txt
trunk/reactos/base/applications/osk/CMakeLists.txt
trunk/reactos/base/applications/rapps/CMakeLists.txt
trunk/reactos/base/applications/rapps_new/CMakeLists.txt
trunk/reactos/base/applications/regedit/CMakeLists.txt
trunk/reactos/base/applications/regedt32/CMakeLists.txt
trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt
trunk/reactos/base/applications/screensavers/logon/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
trunk/reactos/base/applications/wordpad/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] Wed Jun 17 17:20:29
2015
@@ -10,6 +10,8 @@
winmain.c
calc.h)
+file(GLOB calc_rc_deps res/*.*)
+add_rc_deps(resource.rc ${calc_rc_deps})
add_executable(calc ${SOURCE} resource.rc)
set_module_type(calc win32gui UNICODE)
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
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] Wed Jun 17
17:20:29 2015
@@ -7,6 +7,7 @@
settings.c
precomp.h)
+add_rc_deps(charmap.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/charmap.ico)
add_executable(charmap ${SOURCE} charmap.rc)
set_module_type(charmap win32gui UNICODE)
add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
Modified: trunk/reactos/base/applications/control/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/control/…
==============================================================================
--- trunk/reactos/base/applications/control/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/control/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -1,4 +1,5 @@
+add_rc_deps(control.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/config.ico)
add_executable(control control.c control.rc)
set_module_type(control win32gui UNICODE)
add_importlibs(control advapi32 shell32 user32 msvcrt kernel32)
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] Wed Jun 17 17:20:29
2015
@@ -15,6 +15,7 @@
d3dtest9.c
precomp.h)
+add_rc_deps(dxdiag.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/dxdiag.ico)
add_executable(dxdiag ${SOURCE} dxdiag.rc)
set_module_type(dxdiag win32gui UNICODE)
target_link_libraries(dxdiag dxguid)
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] Wed Jun 17
17:20:29 2015
@@ -4,6 +4,7 @@
fontview.c
precomp.h)
+add_rc_deps(fontview.rc ${CMAKE_CURRENT_SOURCE_DIR}/ttf.ico)
add_executable(fontview ${SOURCE} fontview.rc)
set_module_type(fontview win32gui)
add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
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] Wed Jun 17
17:20:29 2015
@@ -8,6 +8,7 @@
solitaire.cpp
solitaire.h)
+add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/solitaire.ico)
add_executable(sol ${SOURCE} rsrc.rc)
target_link_libraries(sol cardlib)
set_module_type(sol win32gui UNICODE)
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] Wed Jun 17
17:20:29 2015
@@ -10,6 +10,7 @@
spigame.cpp
spider.h)
+add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/spider.ico)
add_executable(spider ${SOURCE} rsrc.rc)
target_link_libraries(spider cardlib)
add_pch(spider spider.h SOURCE)
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] Wed Jun 17
17:20:29 2015
@@ -6,6 +6,8 @@
dialog.c
main.h)
+file(GLOB winmine_rc_deps rc/*.*)
+add_rc_deps(rsrc.rc ${winmine_rc_deps})
add_executable(winmine ${SOURCE} rsrc.rc)
set_module_type(winmine win32gui UNICODE)
target_link_libraries(winmine wine)
Modified: trunk/reactos/base/applications/hh/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/hh/CMake…
==============================================================================
--- trunk/reactos/base/applications/hh/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/hh/CMakeLists.txt [iso-8859-1] Wed Jun 17 17:20:29
2015
@@ -1,4 +1,5 @@
+add_rc_deps(hh.rc ${CMAKE_CURRENT_SOURCE_DIR}/hh.ico)
add_executable(hh main.c hh.rc)
set_module_type(hh win32gui)
add_importlibs(hh gdi32 user32 msvcrt kernel32)
Modified: trunk/reactos/base/applications/iexplore/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/iexplore…
==============================================================================
--- trunk/reactos/base/applications/iexplore/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/iexplore/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -1,4 +1,5 @@
+add_rc_deps(iexplore.rc ${CMAKE_CURRENT_SOURCE_DIR}/iexplore.ico)
add_executable(iexplore main.c iexplore.rc)
target_link_libraries(iexplore wine)
set_module_type(iexplore win32gui UNICODE)
Modified: trunk/reactos/base/applications/kbswitch/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
==============================================================================
--- trunk/reactos/base/applications/kbswitch/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/kbswitch/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -1,4 +1,5 @@
+add_rc_deps(kbswitch.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/kbswitch.ico)
add_executable(kbswitch kbswitch.c kbswitch.rc)
set_module_type(kbswitch win32gui UNICODE)
add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt kernel32)
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] Wed Jun 17
17:20:29 2015
@@ -4,6 +4,7 @@
settings.c
magnifier.h)
+add_rc_deps(magnify.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/magnify.ico)
add_executable(magnify ${SOURCE} magnify.rc)
set_module_type(magnify win32gui)
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
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] Wed Jun 17 17:20:29
2015
@@ -5,6 +5,7 @@
mmc.c
precomp.h)
+add_rc_deps(mmc.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/mmc.ico)
add_executable(mmcclient ${SOURCE} mmc.rc)
set_module_type(mmcclient win32gui UNICODE)
add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt
kernel32)
Modified: trunk/reactos/base/applications/mplay32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mplay32/…
==============================================================================
--- trunk/reactos/base/applications/mplay32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mplay32/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -1,4 +1,6 @@
+file(GLOB mplay32_rc_deps resources/*.*)
+add_rc_deps(mplay32.rc ${mplay32_rc_deps})
add_executable(mplay32 mplay32.c mplay32.rc)
set_module_type(mplay32 win32gui UNICODE)
add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt
kernel32)
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] Wed Jun 17
17:20:29 2015
@@ -9,6 +9,7 @@
msconfig.c
precomp.h)
+add_rc_deps(msconfig.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/msconfig.ico)
add_executable(msconfig ${SOURCE} msconfig.rc)
set_module_type(msconfig win32gui UNICODE)
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt
kernel32)
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] Wed Jun
17 17:20:29 2015
@@ -7,6 +7,8 @@
misc.c
precomp.h)
+file(GLOB devmgmt_rc_deps res/*.*)
+add_rc_deps(devmgmt.rc ${devmgmt_rc_deps})
add_executable(devmgmt ${SOURCE} devmgmt.rc)
set_module_type(devmgmt win32gui UNICODE)
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
Modified: trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/eventvwr/CMakeLists.txt [iso-8859-1] Wed Jun
17 17:20:29 2015
@@ -1,4 +1,6 @@
+file(GLOB eventvwr_rc_deps res/*.*)
+add_rc_deps(eventvwr.rc ${eventvwr_rc_deps})
add_executable(eventvwr eventvwr.c eventvwr.rc)
set_module_type(eventvwr win32gui UNICODE)
add_importlibs(eventvwr user32 comctl32 comdlg32 advapi32 msvcrt kernel32)
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] Wed Jun 17
17:20:29 2015
@@ -16,6 +16,8 @@
winproc.c
precomp.h)
+file(GLOB mspaint_rc_deps icons/*.*)
+add_rc_deps(rsrc.rc ${mspaint_rc_deps})
add_executable(mspaint ${SOURCE} rsrc.rc)
set_module_type(mspaint win32gui UNICODE)
add_importlibs(mspaint hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt
kernel32)
Modified: trunk/reactos/base/applications/mspaint_new/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint_…
==============================================================================
--- trunk/reactos/base/applications/mspaint_new/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint_new/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -21,6 +21,8 @@
winproc.cpp
precomp.h)
+file(GLOB mspaint_new_rc_deps icons/*.*)
+add_rc_deps(rsrc.rc ${mspaint_new_rc_deps})
add_executable(mspaint_new ${SOURCE} rsrc.rc)
set_module_type(mspaint_new win32gui UNICODE)
add_importlibs(mspaint_new hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt
kernel32)
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] Wed Jun 17 17:20:29
2015
@@ -30,6 +30,8 @@
uimain.h
precomp.h)
+file(GLOB mstsc_rc_deps res/*.*)
+add_rc_deps(rdc.rc ${mstsc_rc_deps})
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)
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] Wed Jun 17
17:20:29 2015
@@ -6,6 +6,7 @@
text.c
notepad.h)
+add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/notepad.ico)
add_executable(notepad ${SOURCE} rsrc.rc)
set_module_type(notepad win32gui UNICODE)
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
Modified: trunk/reactos/base/applications/osk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/osk/CMak…
==============================================================================
--- trunk/reactos/base/applications/osk/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/osk/CMakeLists.txt [iso-8859-1] Wed Jun 17 17:20:29
2015
@@ -1,4 +1,6 @@
+file(GLOB osk_rc_deps res/*.*)
+add_rc_deps(rsrc.rc ${osk_rc_deps})
add_executable(osk main.c rsrc.rc)
set_module_type(osk win32gui UNICODE)
add_importlibs(osk comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
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] Wed Jun 17 17:20:29
2015
@@ -16,6 +16,8 @@
winmain.c
rapps.h)
+file(GLOB_RECURSE rapps_rc_deps res/*.*)
+add_rc_deps(rapps.rc ${rapps_rc_deps})
add_executable(rapps ${SOURCE} rapps.rc)
set_module_type(rapps win32gui UNICODE)
target_link_libraries(rapps uuid)
Modified: trunk/reactos/base/applications/rapps_new/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps_ne…
==============================================================================
--- trunk/reactos/base/applications/rapps_new/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps_new/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -16,6 +16,8 @@
winmain.cpp
rapps.h)
+file(GLOB_RECURSE rapps_new_rc_deps res/*.*)
+add_rc_deps(rapps.rc ${rapps_new_rc_deps})
add_executable(rapps_new ${SOURCE} rapps.rc)
set_module_type(rapps_new win32gui UNICODE)
target_link_libraries(rapps_new atlnew uuid wine)
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] Wed Jun 17
17:20:29 2015
@@ -18,6 +18,8 @@
treeview.c
regedit.h)
+file(GLOB regedit_rc_deps res/*.*)
+add_rc_deps(regedit.rc ${regedit_rc_deps})
add_executable(regedit ${SOURCE} regedit.rc)
set_module_type(regedit win32gui UNICODE)
target_link_libraries(regedit uuid)
Modified: trunk/reactos/base/applications/regedt32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedt32…
==============================================================================
--- trunk/reactos/base/applications/regedt32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/regedt32/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -1,4 +1,5 @@
+add_rc_deps(resource.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/regedt32.ico)
add_executable(regedt32 regedt32.c resource.rc)
set_module_type(regedt32 win32gui UNICODE)
add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
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] Wed
Jun 17 17:20:29 2015
@@ -4,6 +4,7 @@
settings.c
3dtext.h)
+add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/icon_3dtext.ico)
add_executable(3dtext ${SOURCE} rsrc.rc)
set_module_type(3dtext win32gui UNICODE)
set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
Modified: trunk/reactos/base/applications/screensavers/logon/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/logon/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/screensavers/logon/CMakeLists.txt [iso-8859-1] Wed Jun
17 17:20:29 2015
@@ -1,4 +1,6 @@
+file(GLOB logon_rc_deps res/*.*)
+add_rc_deps(logon.rc ${logon_rc_deps})
add_executable(logon logon.c logon.rc)
set_module_type(logon win32gui UNICODE)
set_target_properties(logon PROPERTIES SUFFIX ".scr")
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] Wed Jun 17
17:20:29 2015
@@ -12,6 +12,8 @@
sndrec32.cpp
stdafx.h)
+file(GLOB sndrec32_rc_deps resources/*.*)
+add_rc_deps(rsrc.rc ${sndrec32_rc_deps})
add_executable(sndrec32 ${SOURCE} rsrc.rc)
set_module_type(sndrec32 win32gui UNICODE)
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 shell32 msvcrt
kernel32)
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] Wed Jun 17
17:20:29 2015
@@ -6,6 +6,7 @@
sndvol32.c
sndvol32.h)
+add_rc_deps(sndvol32.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/sndvol32.ico)
add_executable(sndvol32 ${SOURCE} sndvol32.rc)
set_module_type(sndvol32 win32gui UNICODE)
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32
ntdll)
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] Wed Jun 17
17:20:29 2015
@@ -21,6 +21,8 @@
trayicon.c
precomp.h)
+file(GLOB taskmgr_rc_deps res/*.*)
+add_rc_deps(taskmgr.rc ${taskmgr_rc_deps})
add_executable(taskmgr ${SOURCE} taskmgr.rc)
set_module_type(taskmgr win32gui UNICODE)
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 shlwapi comctl32 msvcrt kernel32
ntdll)
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] Wed Jun 17
17:20:29 2015
@@ -15,11 +15,8 @@
winhelp.c
winhelp.h)
-add_executable(winhlp32
- ${SOURCE}
- string.c
- rsrc.rc)
-
+add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
+add_executable(winhlp32 ${SOURCE} string.c rsrc.rc)
set_module_type(winhlp32 win32gui)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
Modified: trunk/reactos/base/applications/wordpad/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/wordpad/…
==============================================================================
--- trunk/reactos/base/applications/wordpad/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/wordpad/CMakeLists.txt [iso-8859-1] Wed Jun 17
17:20:29 2015
@@ -8,10 +8,11 @@
olecallback.c
print.c
registry.c
- wordpad.c
- rsrc.rc)
+ wordpad.c)
-add_executable(wordpad ${SOURCE})
+file(GLOB wordpad_rc_deps res/*.*)
+add_rc_deps(rsrc.rc ${wordpad_rc_deps})
+add_executable(wordpad ${SOURCE} rsrc.rc)
set_module_type(wordpad win32gui)
target_link_libraries(wordpad wine uuid)
add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt
kernel32 ntdll)