mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Made emission of the API module files `api_log_macros.h
`,
``api_log_macros.cpp`` and ``api_commands.cpp`` optional in ``update_api.py``. This is required to implement support for building and installing Z3's API bindings with CMake.
This commit is contained in:
parent
1a914eb9b5
commit
f6e946443e
2 changed files with 22 additions and 19 deletions
|
@ -20,8 +20,9 @@ endforeach()
|
|||
add_custom_command(OUTPUT ${generated_files}
|
||||
COMMAND "${PYTHON_EXECUTABLE}"
|
||||
"${CMAKE_SOURCE_DIR}/scripts/update_api.py"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
||||
${Z3_FULL_PATH_API_HEADER_FILES_TO_SCAN}
|
||||
"--api_output_dir"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
||||
DEPENDS "${CMAKE_SOURCE_DIR}/scripts/update_api.py"
|
||||
"${CMAKE_SOURCE_DIR}/scripts/mk_util.py"
|
||||
${Z3_FULL_PATH_API_HEADER_FILES_TO_SCAN}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue