[SHELLEXTS] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=69386
This commit is contained in:
Amine Khaldi 2015-09-27 18:37:23 +00:00
parent ae4040aeda
commit 1c49aad636
5 changed files with 13 additions and 3 deletions

View file

@ -6,6 +6,8 @@ list(APPEND SOURCE
shxiface.c
precomp.h)
add_rc_deps(deskadp.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/adapter.ico)
add_library(deskadp SHARED
${SOURCE}
deskadp.rc

View file

@ -6,6 +6,8 @@ list(APPEND SOURCE
shxiface.c
precomp.h)
add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico)
add_library(deskmon SHARED
${SOURCE}
deskmon.rc

View file

@ -24,6 +24,9 @@ list(APPEND SOURCE
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

View file

@ -14,6 +14,9 @@ include_directories(
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
@ -22,9 +25,6 @@ add_library(ntobjshex SHARED
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)

View file

@ -14,6 +14,9 @@ include_directories(
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
stobject.cpp