[SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE-9806

svn path=/trunk/; revision=68119
This commit is contained in:
Amine Khaldi 2015-06-13 11:41:32 +00:00
parent 3ca11592cc
commit cbfd0d8498

View file

@ -21,20 +21,7 @@ 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)
file(GLOB servman_rc_deps res/*.*)
add_rc_deps(servman.rc ${servman_rc_deps})
add_executable(servman ${SOURCE} servman.rc)
set_module_type(servman win32gui UNICODE)