mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
[CMake] Refactor the dependency on `scripts/mk_util.py
` into
a list ``Z3_GENERATED_FILE_EXTRA_DEPENDENCIES`` that is used by the ``add_custom_command()`` declarations. This will let us easily change the common dependencies for generating build files in the future.
This commit is contained in:
parent
9743c188da
commit
a2e3788a20
6 changed files with 22 additions and 9 deletions
|
@ -24,7 +24,7 @@ add_custom_command(OUTPUT ${generated_files}
|
|||
"--api_output_dir"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
||||
DEPENDS "${CMAKE_SOURCE_DIR}/scripts/update_api.py"
|
||||
"${CMAKE_SOURCE_DIR}/scripts/mk_util.py"
|
||||
${Z3_GENERATED_FILE_EXTRA_DEPENDENCIES}
|
||||
${Z3_FULL_PATH_API_HEADER_FILES_TO_SCAN}
|
||||
COMMENT "Generating ${generated_files}"
|
||||
${ADD_CUSTOM_COMMAND_USES_TERMINAL_ARG}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue