diff options
| author | thecharlesblake | 2018-02-24 11:09:47 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-02-24 11:09:47 +0000 |
| commit | fddc559c5ae441906c2edeaab9ec8ea1a06e62e0 (patch) | |
| tree | 452254713cbc919398a87cbff3a3da7e22955a03 | |
| parent | Fix double call to gen legal moves in solver (diff) | |
| download | metasol-fddc559c5ae441906c2edeaab9ec8ea1a06e62e0.tar.gz metasol-fddc559c5ae441906c2edeaab9ec8ea1a06e62e0.zip | |
Add NO_CARD_JUST_MOVED optimisation flag to CMAKE
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 #################################################################### |
