summaryrefslogtreecommitdiff
path: root/cmake/ConfigProduction.cmake
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2018-08-15 14:00:33 -0700
committerMathias Preiner <mathias.preiner@gmail.com>2018-09-22 16:30:59 -0700
commit1931abcccc9b1c7aff3dfbb6b09aaaa7548fba55 (patch)
tree5cc4922b2ab91182e63a0795da04edcdd270172c /cmake/ConfigProduction.cmake
parent48596d14f3aa3946fb53c632ca0f38827097951a (diff)
cmake: Added 3-valued option handling (to enable detection of user-set options).
Diffstat (limited to 'cmake/ConfigProduction.cmake')
-rw-r--r--cmake/ConfigProduction.cmake15
1 files changed, 11 insertions, 4 deletions
diff --git a/cmake/ConfigProduction.cmake b/cmake/ConfigProduction.cmake
index 27bb7270d..9e85188e6 100644
--- a/cmake/ConfigProduction.cmake
+++ b/cmake/ConfigProduction.cmake
@@ -1,16 +1,23 @@
set(CVC4_BUILD_PROFILE_PRODUCTION 1)
# OPTLEVEL=3
# enable_optimized=yes
-set(OPTIMIZATION_LEVEL, 3)
+cvc4_set_option(ENABLE_OPTIMIZED ON)
+set(OPTIMIZATION_LEVEL 3)
# enable_debug_symbols=no
+cvc4_set_option(ENABLE_DEBUG_SYMBOLS OFF)
# enable_statistics=yes
-set(ENABLE_STATISTICS ON)
+cvc4_set_option(ENABLE_STATISTICS ON)
# enable_replay=no
+cvc4_set_option(ENABLE_REPLAY OFF)
# enable_assertions=no
+cvc4_set_option(ENABLE_ASSERTIONS OFF)
# enable_proof=yes
-set(ENABLE_PROOFS, ON)
+cvc4_set_option(ENABLE_PROOFS ON)
# enable_tracing=no
+cvc4_set_option(ENABLE_TRACING OFF)
# enable_dumping=yes
-set(ENABLE_DUMPING ON)
+cvc4_set_option(ENABLE_DUMPING ON)
# enable_muzzle=no
+cvc4_set_option(ENABLE_MUZZLE OFF)
# enable_valgrind=no
+cvc4_set_option(ENABLE_VALGRIND OFF)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback