Author: akhaldi
Date: Sun Sep 27 18:30:39 2015
New Revision: 69385
URL:
http://svn.reactos.org/svn/reactos?rev=69385&view=rev
Log:
[CPLS] Properly track resource file dependencies. CORE-9806
Modified:
trunk/reactos/dll/cpl/access/CMakeLists.txt
trunk/reactos/dll/cpl/appwiz/CMakeLists.txt
trunk/reactos/dll/cpl/console/CMakeLists.txt
trunk/reactos/dll/cpl/desk/CMakeLists.txt
trunk/reactos/dll/cpl/hdwwiz/CMakeLists.txt
trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt
trunk/reactos/dll/cpl/input/CMakeLists.txt
trunk/reactos/dll/cpl/intl/CMakeLists.txt
trunk/reactos/dll/cpl/joy/CMakeLists.txt
trunk/reactos/dll/cpl/main/CMakeLists.txt
trunk/reactos/dll/cpl/mmsys/CMakeLists.txt
trunk/reactos/dll/cpl/powercfg/CMakeLists.txt
trunk/reactos/dll/cpl/sysdm/CMakeLists.txt
trunk/reactos/dll/cpl/telephon/CMakeLists.txt
trunk/reactos/dll/cpl/timedate/CMakeLists.txt
trunk/reactos/dll/cpl/usrmgr/CMakeLists.txt
trunk/reactos/dll/cpl/wined3dcfg/CMakeLists.txt
Modified: trunk/reactos/dll/cpl/access/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/CMakeLists.…
==============================================================================
--- trunk/reactos/dll/cpl/access/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/access/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -10,6 +10,8 @@
sound.c
access.h)
+add_rc_deps(access.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
+
add_library(access SHARED
${SOURCE}
access.rc
Modified: trunk/reactos/dll/cpl/appwiz/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/CMakeLists.…
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/appwiz/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -12,6 +12,9 @@
createlink.c
appwiz.h)
+file(GLOB appwiz_rc_deps resources/*.*)
+add_rc_deps(appwiz.rc ${appwiz_rc_deps})
+
add_library(appwiz SHARED
${SOURCE}
appwiz.rc
Modified: trunk/reactos/dll/cpl/console/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/console/CMakeLists…
==============================================================================
--- trunk/reactos/dll/cpl/console/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/console/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -12,6 +12,8 @@
colors.c
console.h)
+add_rc_deps(console.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico)
+
add_library(console SHARED
${SOURCE}
console.rc
Modified: trunk/reactos/dll/cpl/desk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/CMakeLists.tx…
==============================================================================
--- trunk/reactos/dll/cpl/desk/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -23,6 +23,9 @@
muireg.c
desk.h)
+file(GLOB desk_rc_deps resources/*.*)
+add_rc_deps(desk.rc ${desk_rc_deps})
+
add_library(desk SHARED
${SOURCE}
guid.c
Modified: trunk/reactos/dll/cpl/hdwwiz/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/CMakeLists.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -1,5 +1,7 @@
spec2def(hdwwiz.cpl hdwwiz.spec)
+file(GLOB hdwwiz_rc_deps resources/*.*)
+add_rc_deps(hdwwiz.rc ${hdwwiz_rc_deps})
add_library(hdwwiz SHARED
hdwwiz.c
Modified: trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/CMakeLists…
==============================================================================
--- trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/inetcpl/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -8,6 +8,9 @@
general.c
security.c
inetcpl.h)
+
+file(GLOB inetcpl_rc_deps resources/*.*)
+add_rc_deps(inetcpl.rc ${inetcpl_rc_deps})
add_library(inetcpl SHARED
${SOURCE}
Modified: trunk/reactos/dll/cpl/input/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/cpl/input/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/input/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -10,6 +10,8 @@
changekeyseq.c
input.h)
+add_rc_deps(input.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/keyboard-shortcuts.ico)
+
add_library(input SHARED
${SOURCE}
input.rc
Modified: trunk/reactos/dll/cpl/intl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/CMakeLists.tx…
==============================================================================
--- trunk/reactos/dll/cpl/intl/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -16,6 +16,8 @@
sort.c
intl.h)
+add_rc_deps(intl.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
+
add_library(intl SHARED
${SOURCE}
intl.rc
Modified: trunk/reactos/dll/cpl/joy/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/joy/CMakeLists.txt…
==============================================================================
--- trunk/reactos/dll/cpl/joy/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/joy/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -1,5 +1,6 @@
spec2def(joy.cpl joy.spec)
+add_rc_deps(joy.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
add_library(joy SHARED
joy.c
Modified: trunk/reactos/dll/cpl/main/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/CMakeLists.tx…
==============================================================================
--- trunk/reactos/dll/cpl/main/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/main/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -6,6 +6,9 @@
main.c
mouse.c
main.h)
+
+file(GLOB main_rc_deps resources/*.*)
+add_rc_deps(main.rc ${main_rc_deps})
add_library(main SHARED
${SOURCE}
Modified: trunk/reactos/dll/cpl/mmsys/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -9,6 +9,9 @@
voice.c
mmsys.h)
+file(GLOB mmsys_rc_deps resources/*.*)
+add_rc_deps(mmsys.rc ${mmsys_rc_deps})
+
add_library(mmsys SHARED
${SOURCE}
mmsys.rc
Modified: trunk/reactos/dll/cpl/powercfg/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/CMakeList…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -9,6 +9,9 @@
hibernate.c
powercfg.h)
+file(GLOB powercfg_rc_deps resources/*.*)
+add_rc_deps(powercfg.rc ${powercfg_rc_deps})
+
add_library(powercfg SHARED
${SOURCE}
powercfg.rc
Modified: trunk/reactos/dll/cpl/sysdm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -14,6 +14,9 @@
virtmem.c
precomp.h)
+file(GLOB sysdm_rc_deps resources/*.*)
+add_rc_deps(sysdm.rc ${sysdm_rc_deps})
+
add_library(sysdm SHARED
${SOURCE}
sysdm.rc
Modified: trunk/reactos/dll/cpl/telephon/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/telephon/CMakeList…
==============================================================================
--- trunk/reactos/dll/cpl/telephon/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/telephon/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -1,5 +1,6 @@
spec2def(telephon.cpl telephon.spec)
+add_rc_deps(telephon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
add_library(telephon SHARED
telephon.c
Modified: trunk/reactos/dll/cpl/timedate/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/CMakeList…
==============================================================================
--- trunk/reactos/dll/cpl/timedate/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/timedate/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -11,6 +11,9 @@
timezone.c
timedate.h)
+file(GLOB timedate_rc_deps resources/*.*)
+add_rc_deps(timedate.rc ${timedate_rc_deps})
+
add_library(timedate SHARED
${SOURCE}
timedate.rc
Modified: trunk/reactos/dll/cpl/usrmgr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/CMakeLists.…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -12,6 +12,9 @@
usrmgr.c
usrmgr.h)
+file(GLOB usrmgr_rc_deps resources/*.*)
+add_rc_deps(usrmgr.rc ${usrmgr_rc_deps})
+
add_library(usrmgr SHARED
${SOURCE}
usrmgr.rc
Modified: trunk/reactos/dll/cpl/wined3dcfg/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/wined3dcfg/CMakeLi…
==============================================================================
--- trunk/reactos/dll/cpl/wined3dcfg/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/wined3dcfg/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:30:39 2015
@@ -5,6 +5,8 @@
wined3dcfg.c
general.c
wined3dcfg.h)
+
+add_rc_deps(wined3dcfg.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/wined3dcfg.ico)
add_library(wined3dcfg SHARED
${SOURCE}