mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:13:00 +00:00
[CMAKE]: Fix the dependencies for the hybridcd.
svn path=/trunk/; revision=73654
This commit is contained in:
parent
103ff5a0b0
commit
229958ea1d
1 changed files with 25 additions and 21 deletions
|
@ -321,8 +321,8 @@ function(add_cd_file)
|
|||
set_property(GLOBAL APPEND PROPERTY HYBRIDCD_FILE_LIST "bootcd/${_CD_DESTINATION}/${__file}=${item}")
|
||||
endif()
|
||||
endforeach()
|
||||
if(_CD_TARGET)
|
||||
# manage dependency
|
||||
if(_CD_TARGET)
|
||||
add_dependencies(bootcd ${_CD_TARGET} registry_inf)
|
||||
endif()
|
||||
else()
|
||||
|
@ -331,8 +331,8 @@ function(add_cd_file)
|
|||
file(RELATIVE_PATH __relative_file ${REACTOS_SOURCE_DIR} ${_CD_FILE})
|
||||
file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "\"${__relative_file}\" ${_num}\n")
|
||||
unset(__relative_file)
|
||||
if(_CD_TARGET)
|
||||
# manage dependency - target level
|
||||
if(_CD_TARGET)
|
||||
add_dependencies(reactos_cab_inf ${_CD_TARGET})
|
||||
endif()
|
||||
# manage dependency - file level
|
||||
|
@ -365,6 +365,10 @@ function(add_cd_file)
|
|||
# do we need also to add it to hybridcd?
|
||||
list(FIND _CD_FOR hybridcd __cd)
|
||||
if(NOT __cd EQUAL -1)
|
||||
# manage dependency
|
||||
if(_CD_TARGET)
|
||||
add_dependencies(hybridcd ${_CD_TARGET})
|
||||
endif()
|
||||
foreach(item ${_CD_FILE})
|
||||
if(_CD_NAME_ON_CD)
|
||||
# rename it in the cd tree
|
||||
|
@ -391,8 +395,8 @@ function(add_cd_file)
|
|||
endif()
|
||||
set_property(GLOBAL APPEND PROPERTY BOOTCDREGTEST_FILE_LIST "${_CD_DESTINATION}/${__file}=${item}")
|
||||
endforeach()
|
||||
if(_CD_TARGET)
|
||||
# manage dependency
|
||||
if(_CD_TARGET)
|
||||
add_dependencies(bootcdregtest ${_CD_TARGET} registry_inf)
|
||||
endif()
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue