#TODO
endif()
+#-----------------------------------------------------------------------------#
+# Option defaults (three-valued options (cvc4_option(...)))
+
+cvc4_set_option(ENABLE_PORTFOLIO OFF)
+cvc4_set_option(ENABLE_SHARED ON)
+cvc4_set_option(ENABLE_VALGRIND OFF)
+
#-----------------------------------------------------------------------------#
# Enable the ctest testing framework
if(ENABLE_PORTFOLIO)
find_package(Boost REQUIRED COMPONENTS thread)
+ # Disable CLN for portfolio builds since it is not thread safe (uses an
+ # unlocked hash table internally).
set(USE_CLN OFF)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
#message("Bindings : ${bindings_to_be_built}")
#message("")
#message("Multithreaded: ${support_multithreaded}")
-#message("Portfolio : ${with_portfolio}")
+message("Portfolio : ${ENABLE_PORTFOLIO}")
message("")
#message("ABC : ${{with_abc}")
message("CaDiCaL : ${USE_CADICAL}")
# enable_assertions=no
cvc4_set_option(ENABLE_ASSERTIONS OFF)
# enable_proof=no
-cvc4_set_option(ENABLE_PROOFS, OFF)
+cvc4_set_option(ENABLE_PROOFS OFF)
# enable_tracing=no
cvc4_set_option(ENABLE_TRACING OFF)
# enable_dumping=no
# enable_muzzle=yes
cvc4_set_option(ENABLE_MUZZLE ON)
# enable_valgrind=no
-cvc4_set_option(ENABLE_VALGRIND OFF)
# enable_shared=no
+cvc4_set_option(ENABLE_SHARED OFF)
cvc4_set_option(ENABLE_UNIT_TESTING OFF)
-cvc4_set_option(ENABLE_SHARED ON)
cvc4_set_option(ENABLE_MUZZLE OFF)
# enable_valgrind=optional
cvc4_set_option(ENABLE_UNIT_TESTING ON)
-cvc4_set_option(ENABLE_SHARED ON)
# enable_muzzle=no
cvc4_set_option(ENABLE_MUZZLE OFF)
# enable_valgrind=no
-cvc4_set_option(ENABLE_VALGRIND OFF)
cvc4_set_option(ENABLE_UNIT_TESTING OFF)
-cvc4_set_option(ENABLE_SHARED ON)
# enable_assertions=yes
cvc4_set_option(ENABLE_ASSERTIONS ON)
# enable_proof=yes
-cvc4_set_option(ENABLE_PROOFS, ON)
+cvc4_set_option(ENABLE_PROOFS ON)
# enable_tracing=yes
cvc4_set_option(ENABLE_TRACING ON)
# enable_dumping=yes
# enable_muzzle=no
cvc4_set_option(ENABLE_MUZZLE OFF)
# enable_valgrind=no
-cvc4_set_option(ENABLE_VALGRIND OFF)
cvc4_set_option(ENABLE_UNIT_TESTING ON)
-cvc4_set_option(ENABLE_SHARED ON)