cmake: ensure interface headers are regenerated when the corresponding .xpc file is changed
This commit is contained in:
@@ -21,6 +21,7 @@ function(add_interface)
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${header_path}
|
OUTPUT ${header_path}
|
||||||
COMMAND ${XPCG} ${arg_PATH}
|
COMMAND ${XPCG} ${arg_PATH}
|
||||||
|
DEPENDS ${arg_PATH}
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${arg_PARENT_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${arg_PARENT_DIR}
|
||||||
COMMENT "Generating interface: ${arg_NAME}")
|
COMMENT "Generating interface: ${arg_NAME}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user