diff options
| author | thecharlesblake | 2018-02-02 19:28:59 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-02-02 19:28:59 +0000 |
| commit | 682e7f4a30f4ad3bb3541ee63a4c08716389ec55 (patch) | |
| tree | 6533b4e28e6e750681775b54a3137c3931b9ef07 /CMakeLists.txt | |
| parent | Rename SIMPLE_HASH flag to NO_CARD_SYMMETRY (diff) | |
| download | metasol-682e7f4a30f4ad3bb3541ee63a4c08716389ec55.tar.gz metasol-682e7f4a30f4ad3bb3541ee63a4c08716389ec55.zip | |
Add flag for toggling pile order symmetry & both
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 39097e0..ba6b41a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,6 +137,16 @@ add_executable(solvitaire-no-card-symmetry ${main} ${sources}) target_link_libraries(solvitaire-no-card-symmetry LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) set_target_properties(solvitaire-no-card-symmetry PROPERTIES COMPILE_FLAGS -DNO_CARD_SYMMETRY) +# add a separete executable for the 'no pile symmetry' version of the solver +add_executable(solvitaire-no-pile-symmetry ${main} ${sources}) +target_link_libraries(solvitaire-no-pile-symmetry LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) +set_target_properties(solvitaire-no-pile-symmetry PROPERTIES COMPILE_FLAGS -DNO_PILE_SYMMETRY) + +# add a separete executable for the 'no symmetry' version of the solver +add_executable(solvitaire-no-symmetry ${main} ${sources}) +target_link_libraries(solvitaire-no-symmetry LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) +set_target_properties(solvitaire-no-symmetry PROPERTIES COMPILE_FLAGS "-DNO_CARD_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} -lprofiler) |
