summaryrefslogtreecommitdiff
path: root/cmake/ConfigDebug.cmake
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2018-08-14 13:22:15 -0700
committerMathias Preiner <mathias.preiner@gmail.com>2018-09-22 16:30:59 -0700
commit7023f79262f8fbab78163f4dd5778bd2c62bc2c1 (patch)
tree9fc4af412c386df97625ec4dfd1273597a995caf /cmake/ConfigDebug.cmake
parent37cdc26762e4f5436c3e1403c92d4bc825eeced2 (diff)
cmake: Add build configurations.
Diffstat (limited to 'cmake/ConfigDebug.cmake')
-rw-r--r--cmake/ConfigDebug.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/cmake/ConfigDebug.cmake b/cmake/ConfigDebug.cmake
new file mode 100644
index 000000000..c2ab7f935
--- /dev/null
+++ b/cmake/ConfigDebug.cmake
@@ -0,0 +1,22 @@
+set(CVC4_BUILD_PROFILE_DEBUG 1)
+add_definitions(-DCVC4_DEBUG)
+set(CVC4_DEBUG 1)
+add_check_c_cxx_flag("-fno-inline")
+# enable_optimized=no
+add_c_cxx_flag("-Og")
+# enable_debug_symbols=yes
+set(ENABLE_DEBUG_SYMBOLS ON)
+# enable_statistics=yes
+set(ENABLE_STATISTICS ON)
+# enable_replay=yes
+set(ENABLE_REPLAY ON)
+# enable_assertions=yes
+set(ENABLE_ASSERTIONS ON)
+# enable_proof=yes
+set(ENABLE_PROOFS, ON)
+# enable_tracing=yes
+set(ENABLE_TRACING ON)
+# enable_dumping=yes
+set(ENABLE_DUMPING ON)
+# enable_muzzle=no
+# enable_valgrind=optional
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback