From fddc559c5ae441906c2edeaab9ec8ea1a06e62e0 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 24 Feb 2018 11:09:47 +0000 Subject: Add NO_CARD_JUST_MOVED optimisation flag to CMAKE --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff12767..0e2a21b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,6 +153,11 @@ add_executable(solvitaire-no-auto-foundations ${main} ${sources}) target_link_libraries(solvitaire-no-auto-foundations LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) set_target_properties(solvitaire-no-auto-foundations PROPERTIES COMPILE_FLAGS -DNO_AUTO_FOUNDATIONS) +# add a separete executable for the 'no card just moved' version of the solver +add_executable(solvitaire-no-card-just-moved ${main} ${sources}) +target_link_libraries(solvitaire-no-card-just-moved LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) +set_target_properties(solvitaire-no-card-just-moved PROPERTIES COMPILE_FLAGS -DNO_CARD_JUST_MOVED) + ############################################################################### ## testing #################################################################### -- cgit v1.2.1