forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
81 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
cmake_minimum_required(VERSION 3.2) | ||
|
||
# CBMC only uses part of glucose. | ||
# This CMakeLists is designed to build just the parts that are needed. | ||
|
||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9") | ||
set(CMAKE_OSX_ARCHITECTURES "i386;x86_64") | ||
set(CMAKE_BUILD_TYPE RelWithDebInfo) | ||
|
||
add_library(glucose-condensed | ||
simp/SimpSolver.cc | ||
core/Solver.cc | ||
) | ||
|
||
target_include_directories(glucose-condensed | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
$<INSTALL_INTERFACE:include> | ||
) | ||
|
||
install(TARGETS glucose-condensed EXPORT glucose-condensed-targets | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib | ||
RUNTIME DESTINATION bin | ||
INCLUDES DESTINATION include | ||
) | ||
|
||
install(DIRECTORY . DESTINATION include FILES_MATCHING PATTERN "*.h") | ||
|
||
install(EXPORT glucose-condensed-targets DESTINATION lib/cmake/glucose-condensed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Author: Daniel Kroening, [email protected] | |
|
||
// #define SATCHECK_ZCHAFF | ||
// #define SATCHECK_MINISAT1 | ||
#define SATCHECK_MINISAT2 | ||
// #define SATCHECK_MINISAT2 | ||
// #define SATCHECK_GLUCOSE | ||
// #define SATCHECK_BOOLEFORCE | ||
// #define SATCHECK_PRECOSAT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters