aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCharlie Blake2018-06-07 16:37:53 +0100
committerCharlie Blake2018-06-07 16:37:53 +0100
commitf0e392056514ea8ada38c9a526bed700ce97bf34 (patch)
treead7ca87642826b7d92844a5856daf28810b1695e /CMakeLists.txt
parentAdd more detailed logging info about search sols (diff)
downloadmetasol-f0e392056514ea8ada38c9a526bed700ce97bf34.tar.gz
metasol-f0e392056514ea8ada38c9a526bed700ce97bf34.zip

Remove reduced state build and logic

Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d5eef74..01ef9b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -131,6 +131,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -DBOOST_LOG_DYN_LINK -pthread
-Wstrict-null-sentinel -Werror")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -s -DNDEBUG -Wl,-O1")
+#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -g -Wl,-O1") # uncomment for profiling
###############################################################################
## target definitions #########################################################
@@ -174,12 +175,7 @@ set_target_properties(solvitaire-no-suit-symmetry PROPERTIES COMPILE_FLAGS -DNO_
add_executable(solvitaire-no-symmetry ${main} ${sources})
target_link_libraries(solvitaire-no-symmetry LINK_PUBLIC ${Boost_LIBRARIES})
set_target_properties(solvitaire-no-symmetry PROPERTIES COMPILE_FLAGS "-DNO_SUIT_SYMMETRY -DNO_PILE_SYMMETRY")
-
-# add a separete executable for the 'no reduced state' version of the solver
-add_executable(solvitaire-no-reduced-state ${main} ${sources})
-target_link_libraries(solvitaire-no-reduced-state LINK_PUBLIC ${Boost_LIBRARIES})
-set_target_properties(solvitaire-no-reduced-state PROPERTIES COMPILE_FLAGS -DNO_REDUCED_STATE)
-
+
# add a separete executable for the 'no auto foundations' version of the solver
add_executable(solvitaire-no-auto-foundations ${main} ${sources})
target_link_libraries(solvitaire-no-auto-foundations LINK_PUBLIC ${Boost_LIBRARIES})