1 cmake_minimum_required(VERSION 2.8)
6 # set(CMAKE_CXX_FLAGS -pg)
7 # set(CMAKE_EXE_LINKER_FLAGS -pg)
8 # set(CMAKE_SHARED_LINKER_FLAGS -pg)
10 SET(CMAKE_BUILD_TYPE Release)
12 add_subdirectory(latlib)
14 add_executable(heatbath-heatless heatbath.cpp)
15 set_target_properties(heatbath-heatless PROPERTIES COMPILE_DEFINITIONS "HEATLESS_ALGORITHM")
16 target_link_libraries(heatbath-heatless o815 gsl gslcblas lat_neigh)
18 add_executable(heatbath-usualheat heatbath.cpp)
19 set_target_properties(heatbath-usualheat PROPERTIES COMPILE_DEFINITIONS "USUALHEAT_ALGORITHM")
20 target_link_libraries(heatbath-usualheat o815 gsl gslcblas lat_neigh)
22 add_executable(heatbath-relaxedheat heatbath.cpp)
23 set_target_properties(heatbath-relaxedheat PROPERTIES COMPILE_DEFINITIONS "RELAXEDHEAT_ALGORITHM")
24 target_link_libraries(heatbath-relaxedheat o815 gsl gslcblas lat_neigh)