mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
flags. This is necessary for libz3 to be usable from the Python bindings when libz3 is built with gcc or clang.
5 lines
266 B
CMake
5 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++")
|