mirror of
https://github.com/Z3Prover/z3
synced 2025-07-01 18:38:47 +00:00
flags. This is necessary for libz3 to be usable from the Python bindings when libz3 is built with gcc or clang.
4 lines
266 B
CMake
4 lines
266 B
CMake
add_executable(cpp_example EXCLUDE_FROM_ALL example.cpp)
|
|
target_link_libraries(cpp_example PRIVATE libz3)
|
|
target_include_directories(cpp_example PRIVATE "${CMAKE_SOURCE_DIR}/src/api")
|
|
target_include_directories(cpp_example PRIVATE "${CMAKE_SOURCE_DIR}/src/api/c++")
|