[SERVMAN] Properly track resource file dependencies. CORE-9806
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 13 Jun 2015 11:12:48 +0000 (11:12 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 13 Jun 2015 11:12:48 +0000 (11:12 +0000)
svn path=/trunk/; revision=68118

reactos/base/applications/mscutils/servman/CMakeLists.txt

index 53fb2c3..5cb550f 100644 (file)
@@ -21,6 +21,21 @@ list(APPEND SOURCE
     stop_dependencies.c
     precomp.h)
 
+list(APPEND servman_rc_deps
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/create.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/delete.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/driver.ico
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/export.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/nodepends.ico
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/pause.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/properties.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/refresh.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/restart.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/start.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/stop.bmp
+    ${CMAKE_CURRENT_SOURCE_DIR}/res/system.ico)
+
+add_rc_deps(servman.rc ${servman_rc_deps})
 add_executable(servman ${SOURCE} servman.rc)
 set_module_type(servman win32gui UNICODE)
 add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)