Author: akhaldi Date: Sun Sep 27 18:37:23 2015 New Revision: 69386 URL: http://svn.reactos.org/svn/reactos?rev=69386&view=rev Log: [SHELLEXTS] Properly track resource file dependencies. CORE-9806
Modified: trunk/reactos/dll/shellext/deskadp/CMakeLists.txt trunk/reactos/dll/shellext/deskmon/CMakeLists.txt trunk/reactos/dll/shellext/netshell/CMakeLists.txt trunk/reactos/dll/shellext/ntobjshex/CMakeLists.txt trunk/reactos/dll/shellext/stobject/CMakeLists.txt Modified: trunk/reactos/dll/shellext/deskadp/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/deskadp/CMakeLists.txt?rev=69386&r1=69385&r2=69386&view=diff ============================================================================== --- trunk/reactos/dll/shellext/deskadp/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/deskadp/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:37:23 2015 @@ -5,6 +5,8 @@ deskadp.c shxiface.c precomp.h) + +add_rc_deps(deskadp.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/adapter.ico) add_library(deskadp SHARED ${SOURCE} Modified: trunk/reactos/dll/shellext/deskmon/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/deskmon/CMakeLists.txt?rev=69386&r1=69385&r2=69386&view=diff ============================================================================== --- trunk/reactos/dll/shellext/deskmon/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/deskmon/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:37:23 2015 @@ -5,6 +5,8 @@ deskmon.c shxiface.c precomp.h) + +add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico) add_library(deskmon SHARED ${SOURCE} Modified: trunk/reactos/dll/shellext/netshell/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/netshell/CMakeLists.txt?rev=69386&r1=69385&r2=69386&view=diff ============================================================================== --- trunk/reactos/dll/shellext/netshell/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/netshell/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:37:23 2015 @@ -24,6 +24,9 @@ lanstatusui.cpp precomp.h) +file(GLOB netshell_rc_deps res/*.*) +add_rc_deps(netshell.rc ${netshell_rc_deps}) + add_library(netshell SHARED ${SOURCE} netshell.rc Modified: trunk/reactos/dll/shellext/ntobjshex/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/ntobjshex/CMakeLists.txt?rev=69386&r1=69385&r2=69386&view=diff ============================================================================== --- trunk/reactos/dll/shellext/ntobjshex/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/ntobjshex/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:37:23 2015 @@ -14,6 +14,9 @@ spec2def(ntobjshex.dll ntobjshex.spec) +file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*) +add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps}) + add_library(ntobjshex SHARED ntobjenum.cpp ntobjfolder.cpp @@ -21,9 +24,6 @@ ntobjshex.rc regfolder.cpp ${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def) - -list(APPEND atl_rc_deps - ${CMAKE_CURRENT_SOURCE_DIR}/resources/rgs/ntobjectfolder.rgs) set_module_type(ntobjshex win32dll UNICODE) target_link_libraries(ntobjshex uuid wine atlnew) Modified: trunk/reactos/dll/shellext/stobject/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/stobject/CMakeLists.txt?rev=69386&r1=69385&r2=69386&view=diff ============================================================================== --- trunk/reactos/dll/shellext/stobject/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/shellext/stobject/CMakeLists.txt [iso-8859-1] Sun Sep 27 18:37:23 2015 @@ -13,6 +13,9 @@ ${REACTOS_SOURCE_DIR}) spec2def(stobject.dll stobject.spec) + +file(GLOB_RECURSE stobject_rc_deps resources/*.*) +add_rc_deps(stobject.rc ${stobject_rc_deps}) add_library(stobject SHARED csystray.cpp