]> git.treefish.org Git - phys/heatbath.git/blobdiff - CMakeLists.txt
Added 1mr+ algorithm.
[phys/heatbath.git] / CMakeLists.txt
index 3417d67c7464dcef8c14b8a274d1112130ec66f4..41c8e074f076cfadb6a35c06ba36212620e72ec8 100644 (file)
@@ -11,6 +11,18 @@ SET(CMAKE_BUILD_TYPE Release)
 
 add_subdirectory(latlib)
 
-add_executable(heatbath heatbath.cc)
-#set_target_properties(phi4iso-local PROPERTIES COMPILE_DEFINITIONS "LOCAL_UPDATE_ALGORITHM")
-target_link_libraries(heatbath o815)
+add_executable(heatbath-nor heatbath.cpp)
+set_target_properties(heatbath-nor PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_NOR")
+target_link_libraries(heatbath-nor o815 gsl gslcblas lat_neigh)
+
+add_executable(heatbath-r heatbath.cpp)
+set_target_properties(heatbath-r PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_R")
+target_link_libraries(heatbath-r o815 gsl gslcblas lat_neigh)
+
+add_executable(heatbath-1mr heatbath.cpp)
+set_target_properties(heatbath-1mr PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_1MR")
+target_link_libraries(heatbath-1mr o815 gsl gslcblas lat_neigh)
+
+add_executable(heatbath-1mr+ heatbath.cpp)
+set_target_properties(heatbath-1mr+ PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_1MRPLUS")
+target_link_libraries(heatbath-1mr+ o815 gsl gslcblas lat_neigh)