aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCharlie Blake2018-02-15 12:48:35 +0000
committerGitHub2018-02-15 12:48:35 +0000
commit9e865ef56ff2b90695343e2e5b7be6e05b2c56f4 (patch)
tree7cd620ee74084d74d849b44fae2db3897763cadb /CMakeLists.txt
parentMerge pull request #37 from thecharlesblake/docs (diff)
parentAdd simple auto-found + works w/ removable founds (diff)
downloadmetasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.tar.gz
metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.zip

Merge pull request #38 from thecharlesblake/foundation-dominance

Foundation dominance

Diffstat (limited to 'CMakeLists.txt')
-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 ####################################################################