]> git.treefish.org Git - phys/heatbath.git/blob - CMakeLists.txt
Added r+ algorithm.
[phys/heatbath.git] / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8)
2
3 project(heatbath)
4
5 # #PROFILING
6 # set(CMAKE_CXX_FLAGS -pg)
7 # set(CMAKE_EXE_LINKER_FLAGS -pg)
8 # set(CMAKE_SHARED_LINKER_FLAGS -pg)
9
10 SET(CMAKE_BUILD_TYPE Release)
11
12 add_subdirectory(latlib)
13
14 add_executable(heatbath-nor heatbath.cpp)
15 set_target_properties(heatbath-nor PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_NOR")
16 target_link_libraries(heatbath-nor o815 gsl gslcblas lat_neigh)
17
18 add_executable(heatbath-r heatbath.cpp)
19 set_target_properties(heatbath-r PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_R")
20 target_link_libraries(heatbath-r o815 gsl gslcblas lat_neigh)
21
22 add_executable(heatbath-1mr heatbath.cpp)
23 set_target_properties(heatbath-1mr PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_1MR")
24 target_link_libraries(heatbath-1mr o815 gsl gslcblas lat_neigh)
25
26 add_executable(heatbath-1mr+ heatbath.cpp)
27 set_target_properties(heatbath-1mr+ PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_1MRPLUS")
28 target_link_libraries(heatbath-1mr+ o815 gsl gslcblas lat_neigh)
29
30 add_executable(heatbath-1mr- heatbath.cpp)
31 set_target_properties(heatbath-1mr- PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_1MRMINUS")
32 target_link_libraries(heatbath-1mr- o815 gsl gslcblas lat_neigh)
33
34 add_executable(heatbath-r- heatbath.cpp)
35 set_target_properties(heatbath-r- PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_RMINUS")
36 target_link_libraries(heatbath-r- o815 gsl gslcblas lat_neigh)
37
38 add_executable(heatbath-r+ heatbath.cpp)
39 set_target_properties(heatbath-r+ PROPERTIES COMPILE_DEFINITIONS "ALGORITHM_RPLUS")
40 target_link_libraries(heatbath-r+ o815 gsl gslcblas lat_neigh)