[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:
Jérôme Gardou 2020-10-28 15:09:15 +01:00 committed by Jérôme Gardou
parent b2cf5a4c03
commit 95d873091b

View file

@ -37,11 +37,13 @@ add_custom_command(
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/reactos.dff.in
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.$<CONFIG>.dyn)
add_custom_target(
reactos_cab_inf
add_custom_command(
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
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(
TARGET reactos_cab_inf