aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecharlesblake2018-02-14 16:58:28 +0000
committerthecharlesblake2018-02-14 16:59:07 +0000
commit3896073ee04cbfd016344bc086c87fced34fafa1 (patch)
tree9cc4ce8b57db7e14e82454cff747be5fd56fd7e5
parentAdd foundations dominance testing (diff)
downloadmetasol-3896073ee04cbfd016344bc086c87fced34fafa1.tar.gz
metasol-3896073ee04cbfd016344bc086c87fced34fafa1.zip

Update CMake file

-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
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 ####################################################################