From 3896073ee04cbfd016344bc086c87fced34fafa1 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 14 Feb 2018 16:58:28 +0000 Subject: Update CMake file --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba6b41a..0dace0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,8 @@ set(sources_test src/test/somerset_test.cpp src/test/alpha_star_test.cpp src/test/spider_test.cpp - src/test/global_cache_test.cpp) + src/test/global_cache_test.cpp + src/test/foundations_dominance_test.cpp) ############################################################################### ## Rapid JSON setup ########################################################### @@ -152,6 +153,11 @@ add_executable(solvitaire-no-reduced-state ${main} ${sources}) target_link_libraries(solvitaire-no-reduced-state LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) 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} -lprofiler) +set_target_properties(solvitaire-no-auto-foundations PROPERTIES COMPILE_FLAGS -DNO_AUTO_FOUNDATIONS) + ############################################################################### ## testing #################################################################### -- cgit v1.2.1