]> git.treefish.org Git - phys/latlib.git/blob - CMakeLists.txt
implemented parameter linking.
[phys/latlib.git] / CMakeLists.txt
1 project(latlib)
2
3 #PROFILING
4 #set(CMAKE_CXX_FLAGS -pg)
5 #set(CMAKE_EXE_LINKER_FLAGS -pg)
6 #set(CMAKE_SHARED_LINKER_FLAGS -pg)
7
8 add_library(lat_configcache configcache.cpp)
9 target_link_libraries(lat_configcache boost_iostreams lat_writeout)
10
11 add_library(lat_hypercache hypercache.cpp)
12 target_link_libraries(lat_hypercache lat_configcache lat_writeout)
13
14 add_library(lat_neigh neigh.cpp)
15
16 add_library(lat_writeout writeout.cpp)
17
18 add_library(lat_paraq paraq.cpp)
19
20 add_library(lat_progress progress.cpp)
21
22 find_package(OpenGL REQUIRED)
23 find_package(GLUT REQUIRED)
24 include_directories( ${OPENGL_INCLUDE_DIRS}  ${GLUT_INCLUDE_DIRS} ../ )
25 add_library(lat_culooks culooks.cpp culooks_cube.cpp culooks_drawing.cpp)
26 target_link_libraries(lat_culooks ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} pthread)
27
28 add_executable(neigh_test neigh_test.cpp)
29 target_link_libraries(neigh_test lat_neigh)
30
31 add_executable(culooks_test culooks_test.cpp)
32 target_link_libraries(culooks_test lat_culooks)
33
34 add_subdirectory(o815)