diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2018-08-15 14:00:33 -0700 |
---|---|---|
committer | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-22 16:30:59 -0700 |
commit | 1931abcccc9b1c7aff3dfbb6b09aaaa7548fba55 (patch) | |
tree | 5cc4922b2ab91182e63a0795da04edcdd270172c /cmake/ConfigDebug.cmake | |
parent | 48596d14f3aa3946fb53c632ca0f38827097951a (diff) |
cmake: Added 3-valued option handling (to enable detection of user-set options).
Diffstat (limited to 'cmake/ConfigDebug.cmake')
-rw-r--r-- | cmake/ConfigDebug.cmake | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/cmake/ConfigDebug.cmake b/cmake/ConfigDebug.cmake index c2ab7f935..8d6b6cb99 100644 --- a/cmake/ConfigDebug.cmake +++ b/cmake/ConfigDebug.cmake @@ -3,20 +3,23 @@ add_definitions(-DCVC4_DEBUG) set(CVC4_DEBUG 1) add_check_c_cxx_flag("-fno-inline") # enable_optimized=no +cvc4_set_option(ENABLE_OPTIMIZED OFF) +set(OPTIMIZATION_LEVEL 0) add_c_cxx_flag("-Og") # enable_debug_symbols=yes -set(ENABLE_DEBUG_SYMBOLS ON) +cvc4_set_option(ENABLE_DEBUG_SYMBOLS ON) # enable_statistics=yes -set(ENABLE_STATISTICS ON) +cvc4_set_option(ENABLE_STATISTICS ON) # enable_replay=yes -set(ENABLE_REPLAY ON) +cvc4_set_option(ENABLE_REPLAY ON) # enable_assertions=yes -set(ENABLE_ASSERTIONS ON) +cvc4_set_option(ENABLE_ASSERTIONS ON) # enable_proof=yes -set(ENABLE_PROOFS, ON) +cvc4_set_option(ENABLE_PROOFS ON) # enable_tracing=yes -set(ENABLE_TRACING ON) +cvc4_set_option(ENABLE_TRACING ON) # enable_dumping=yes -set(ENABLE_DUMPING ON) +cvc4_set_option(ENABLE_DUMPING ON) # enable_muzzle=no +cvc4_set_option(ENABLE_MUZZLE OFF) # enable_valgrind=optional |