]> git.treefish.org Git - phys/heatbath.git/blob - CMakeLists.txt
Checkerboard sweep for nor 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)