mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 20:56:04 +00:00
[SHELLEXTS] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=69386
This commit is contained in:
parent
ae4040aeda
commit
1c49aad636
5 changed files with 13 additions and 3 deletions
|
@ -6,6 +6,8 @@ list(APPEND SOURCE
|
||||||
shxiface.c
|
shxiface.c
|
||||||
precomp.h)
|
precomp.h)
|
||||||
|
|
||||||
|
add_rc_deps(deskadp.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/adapter.ico)
|
||||||
|
|
||||||
add_library(deskadp SHARED
|
add_library(deskadp SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
deskadp.rc
|
deskadp.rc
|
||||||
|
|
|
@ -6,6 +6,8 @@ list(APPEND SOURCE
|
||||||
shxiface.c
|
shxiface.c
|
||||||
precomp.h)
|
precomp.h)
|
||||||
|
|
||||||
|
add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico)
|
||||||
|
|
||||||
add_library(deskmon SHARED
|
add_library(deskmon SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
deskmon.rc
|
deskmon.rc
|
||||||
|
|
|
@ -24,6 +24,9 @@ list(APPEND SOURCE
|
||||||
lanstatusui.cpp
|
lanstatusui.cpp
|
||||||
precomp.h)
|
precomp.h)
|
||||||
|
|
||||||
|
file(GLOB netshell_rc_deps res/*.*)
|
||||||
|
add_rc_deps(netshell.rc ${netshell_rc_deps})
|
||||||
|
|
||||||
add_library(netshell SHARED
|
add_library(netshell SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
netshell.rc
|
netshell.rc
|
||||||
|
|
|
@ -14,6 +14,9 @@ include_directories(
|
||||||
|
|
||||||
spec2def(ntobjshex.dll ntobjshex.spec)
|
spec2def(ntobjshex.dll ntobjshex.spec)
|
||||||
|
|
||||||
|
file(GLOB_RECURSE ntobjshex_rc_deps resources/*.*)
|
||||||
|
add_rc_deps(ntobjshex.rc ${ntobjshex_rc_deps})
|
||||||
|
|
||||||
add_library(ntobjshex SHARED
|
add_library(ntobjshex SHARED
|
||||||
ntobjenum.cpp
|
ntobjenum.cpp
|
||||||
ntobjfolder.cpp
|
ntobjfolder.cpp
|
||||||
|
@ -22,9 +25,6 @@ add_library(ntobjshex SHARED
|
||||||
regfolder.cpp
|
regfolder.cpp
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def)
|
${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)
|
set_module_type(ntobjshex win32dll UNICODE)
|
||||||
target_link_libraries(ntobjshex uuid wine atlnew)
|
target_link_libraries(ntobjshex uuid wine atlnew)
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@ include_directories(
|
||||||
|
|
||||||
spec2def(stobject.dll stobject.spec)
|
spec2def(stobject.dll stobject.spec)
|
||||||
|
|
||||||
|
file(GLOB_RECURSE stobject_rc_deps resources/*.*)
|
||||||
|
add_rc_deps(stobject.rc ${stobject_rc_deps})
|
||||||
|
|
||||||
add_library(stobject SHARED
|
add_library(stobject SHARED
|
||||||
csystray.cpp
|
csystray.cpp
|
||||||
stobject.cpp
|
stobject.cpp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue