summaryrefslogtreecommitdiff
path: root/cmake/ConfigDebug.cmake
blob: 9c9f5ec100401eefacced6952c3f1dbfe8ddc593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
cvc4_set_option(ENABLE_DEBUG_SYMBOLS ON)
# enable_statistics=yes
cvc4_set_option(ENABLE_STATISTICS ON)
# enable_replay=yes
cvc4_set_option(ENABLE_REPLAY ON)
# enable_assertions=yes
cvc4_set_option(ENABLE_ASSERTIONS ON)
# enable_proof=yes
cvc4_set_option(ENABLE_PROOFS ON)
# enable_tracing=yes
cvc4_set_option(ENABLE_TRACING ON)
# enable_dumping=yes
if(ENABLE_PORTFOLIO)
  if(ENABLE_DUMPING)
    message(FATAL_ERROR "Dumping not supported with a portfolio build.")
  else()
    message(WARNING
      "Disabling dumping support, not supported with a portfolio build.")
  endif()
else()
  cvc4_set_option(ENABLE_DUMPING ON)
endif()
# enable_muzzle=no
cvc4_set_option(ENABLE_MUZZLE OFF)
# enable_valgrind=optional
cvc4_set_option(ENABLE_UNIT_TESTING ON)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback