Skip to content

Commit

Permalink
Update CMake configuration to exclude Z3 source directory from covera…
Browse files Browse the repository at this point in the history
…ge and update rationet subproject commit
  • Loading branch information
riccardodebenedictis committed Jan 21, 2025
1 parent f10d817 commit 105685a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ if(${CONSTRAINT_REASONER_TYPE} STREQUAL "Z3")
include(FetchContent)
FetchContent_Declare(z3 GIT_REPOSITORY https://github.com/Z3Prover/z3 GIT_TAG z3-4.13.4)
FetchContent_MakeAvailable(z3)
list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE "${z3_SOURCE_DIR}")

target_include_directories(oRatioLib PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/z3> ${z3_SOURCE_DIR}/src/api)
target_sources(oRatioLib PRIVATE src/z3/z3solver.cpp src/z3/z3flaws.cpp src/z3/z3types.cpp)
Expand Down
2 changes: 1 addition & 1 deletion extern/rationet
Submodule rationet updated 1 files
+2 −6 CMakeLists.txt

0 comments on commit 105685a

Please sign in to comment.