cmake: ensure interface headers are regenerated when the corresponding .xpc file is changed

This commit is contained in:
2026-03-15 09:47:03 +00:00
parent c66c7f3f3f
commit d03c750e4a

View File

@@ -21,6 +21,7 @@ function(add_interface)
add_custom_command(
OUTPUT ${header_path}
COMMAND ${XPCG} ${arg_PATH}
DEPENDS ${arg_PATH}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${arg_PARENT_DIR}
COMMENT "Generating interface: ${arg_NAME}")