]> git.treefish.org Git - phys/heatbath.git/blobdiff - CMakeLists.txt
Fixed wrong 1mr+ update.
[phys/heatbath.git] / CMakeLists.txt
index 3417d67c7464dcef8c14b8a274d1112130ec66f4..3e554d45ff163e52c2ec8b8beee5c4e7d6af6d2e 100644 (file)
@@ -11,6 +11,26 @@ 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)
+
+add_executable(heatbath-1mr- heatbath.cpp)
+set_target_properties(heatbath-1mr- PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_1MRMINUS")
+target_link_libraries(heatbath-1mr- o815 gsl gslcblas lat_neigh)
+
+add_executable(heatbath-r- heatbath.cpp)
+set_target_properties(heatbath-r- PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_RMINUS")
+target_link_libraries(heatbath-r- o815 gsl gslcblas lat_neigh)