Skip to content

Commit

Permalink
Merge pull request #89 from ftsrg/patch-move-bmcverifier
Browse files Browse the repository at this point in the history
Minor refactor: Move BMCVerifier inside gazer-bmc
  • Loading branch information
AdamZsofi authored Feb 4, 2021
2 parents 8600b6f + b36cfc2 commit 4a68caf
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(NOT DEFINED GAZER_VERSION_MINOR)
set(GAZER_VERSION_MINOR 4)
endif()
if(NOT DEFINED GAZER_VERSION_PATCH)
set(GAZER_VERSION_PATCH 0)
set(GAZER_VERSION_PATCH 1)
endif()
if(NOT DEFINED GAZER_VERSION_SUFFIX)
set(GAZER_VERSION_SUFFIX "")
Expand Down
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ add_subdirectory(Core)
add_subdirectory(Automaton)
add_subdirectory(LLVM)
add_subdirectory(Trace)
add_subdirectory(Verifier)
add_subdirectory(Support)

# Add requested solvers
Expand Down
2 changes: 1 addition & 1 deletion src/LLVM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ llvm_map_components_to_libnames(GAZER_LLVM_LIBS core irreader transformutils sca
message(STATUS "Using LLVM libraries: ${GAZER_LLVM_LIBS}")

add_library(GazerLLVM SHARED ${SOURCE_FILES})
target_link_libraries(GazerLLVM ${GAZER_LLVM_LIBS} GazerCore GazerTrace GazerZ3Solver GazerAutomaton GazerVerifier)
target_link_libraries(GazerLLVM ${GAZER_LLVM_LIBS} GazerCore GazerTrace GazerZ3Solver GazerAutomaton)
4 changes: 3 additions & 1 deletion tools/gazer-bmc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
add_subdirectory(Verifier)

set(SOURCE_FILES
gazer-bmc.cpp
)

add_executable(gazer-bmc ${SOURCE_FILES})
target_link_libraries(gazer-bmc GazerLLVM GazerZ3Solver)
target_link_libraries(gazer-bmc GazerLLVM GazerZ3Solver GazerVerifier)
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(SOURCE_FILES
BoundedModelChecker.cpp
BmcTrace.cpp
BoundedModelChecker.cpp
BmcTrace.cpp
)

add_library(GazerVerifier SHARED ${SOURCE_FILES})
Expand Down

0 comments on commit 4a68caf

Please sign in to comment.