mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[CMAKE] Make reactos_cab_inf really depend on reactos.inf
Instead of being always out of date & always trigger reactos.cab creation
This commit is contained in:
parent
b2cf5a4c03
commit
95d873091b
1 changed files with 6 additions and 4 deletions
|
@ -31,17 +31,19 @@ add_custom_command(
|
||||||
-D SRC2=${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.$<CONFIG>.dyn
|
-D SRC2=${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.$<CONFIG>.dyn
|
||||||
-D DST=${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.maydiff
|
-D DST=${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.maydiff
|
||||||
-P ${CMAKE_CURRENT_BINARY_DIR}/concat.cmake
|
-P ${CMAKE_CURRENT_BINARY_DIR}/concat.cmake
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.maydiff
|
${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.maydiff
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/reactos.dff
|
${CMAKE_CURRENT_BINARY_DIR}/reactos.dff
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/reactos.dff.in
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/reactos.dff.in
|
||||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.$<CONFIG>.dyn)
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.$<CONFIG>.dyn)
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_command(
|
||||||
reactos_cab_inf
|
|
||||||
COMMAND native-cabman -C ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff -L ${CMAKE_CURRENT_BINARY_DIR} -I -P ${REACTOS_SOURCE_DIR}
|
COMMAND native-cabman -C ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff -L ${CMAKE_CURRENT_BINARY_DIR} -I -P ${REACTOS_SOURCE_DIR}
|
||||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff native-cabman
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff native-cabman
|
||||||
BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf)
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf)
|
||||||
|
|
||||||
|
add_custom_target(
|
||||||
|
reactos_cab_inf DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf)
|
||||||
|
|
||||||
add_cd_file(
|
add_cd_file(
|
||||||
TARGET reactos_cab_inf
|
TARGET reactos_cab_inf
|
||||||
|
|
Loading…
Reference in a new issue