summaryrefslogtreecommitdiff
path: root/cmake/ConfigCompetition.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/ConfigCompetition.cmake
parent48596d14f3aa3946fb53c632ca0f38827097951a (diff)
cmake: Added 3-valued option handling (to enable detection of user-set options).
Diffstat (limited to 'cmake/ConfigCompetition.cmake')
-rw-r--r--cmake/ConfigCompetition.cmake14
1 files changed, 12 insertions, 2 deletions
diff --git a/cmake/ConfigCompetition.cmake b/cmake/ConfigCompetition.cmake
index af4df5257..3abed1da7 100644
--- a/cmake/ConfigCompetition.cmake
+++ b/cmake/ConfigCompetition.cmake
@@ -5,15 +5,25 @@ add_check_c_cxx_flag("-fexpensive-optimizations")
add_check_c_cxx_flag("-fno-enforce-eh-specs")
# OPTLEVEL=9
# enable_optimized=yes
-set(OPTIMIZATION_LEVEL, 9)
+cvc4_set_option(ENABLE_OPTIMIZED ON)
+set(OPTIMIZATION_LEVEL 9)
# enable_debug_symbols=no
+cvc4_set_option(ENABLE_DEBUG_SYMBOLS OFF)
# enable_statistics=no
+cvc4_set_option(ENABLE_STATISTICS OFF)
# enable_replay=no
+cvc4_set_option(ENABLE_REPLAY OFF)
# enable_assertions=no
+cvc4_set_option(ENABLE_ASSERTIONS OFF)
# enable_proof=no
+cvc4_set_option(ENABLE_PROOFS, OFF)
# enable_tracing=no
+cvc4_set_option(ENABLE_TRACING OFF)
# enable_dumping=no
+cvc4_set_option(ENABLE_DUMPING OFF)
# enable_muzzle=yes
-set(ENABLE_MUZZLE ON)
+cvc4_set_option(ENABLE_MUZZLE ON)
# enable_valgrind=no
+cvc4_set_option(ENABLE_VALGRIND OFF)
# enable_shared=no
+set(BUILD_SHARED_LIBS OFF)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback