cmake flags to make solvers optional. Implementation of #4651

This commit is contained in:
Matías Aereal Aeón
2018-08-08 12:43:57 -03:00
parent 009a55c82d
commit 4b20708c49
5 changed files with 43 additions and 11 deletions
+4
View File
@@ -166,6 +166,10 @@ if(COVERAGE)
add_compile_options(-g --coverage)
endif()
# SMT Solvers integration
option(USE_Z3 "Allow compiling with Z3 SMT solver integration" ON)
option(USE_CVC4 "Allow compiling with CVC4 SMT solver integration" ON)
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang"))
option(USE_LD_GOLD "Use GNU gold linker" ON)
if (USE_LD_GOLD)