From 7ae2eda8fed387c82edd1bce59c19bf38666fe0b Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Tue, 30 Jan 2018 19:48:02 +0000 Subject: Add ORDER_ON_CACHE flag to CMake script --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0c9f2e..3477339 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,6 +137,11 @@ add_executable(solvitaire-simple-hash ${main} ${sources}) target_link_libraries(solvitaire-simple-hash LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) set_target_properties(solvitaire-simple-hash PROPERTIES COMPILE_FLAGS -DSIMPLE_HASH) +# add a separete executable for the 'order on cache' version of the solver +add_executable(solvitaire-order-on-cache ${main} ${sources}) +target_link_libraries(solvitaire-order-on-cache LINK_PUBLIC ${Boost_LIBRARIES} -lprofiler) +set_target_properties(solvitaire-order-on-cache PROPERTIES COMPILE_FLAGS -DORDER_ON_CACHE) + ############################################################################### ## testing #################################################################### -- cgit v1.2.1