]> git.treefish.org Git - phys/latlib.git/blob - CMakeLists.txt
added hypercache class, which combines observable and configuration cache.
[phys/latlib.git] / CMakeLists.txt
1 project(latlib)
2
3 add_library(lat_configcache configcache.cpp)
4 target_link_libraries(lat_configcache boost_iostreams lat_writeout)
5
6 add_library(lat_hypercache hypercache.cpp)
7 target_link_libraries(lat_hypercache lat_configcache lat_writeout)
8
9 add_library(lat_neigh neigh.cpp)
10
11 add_library(lat_writeout writeout.cpp)
12
13 add_library(lat_paraq paraq.cpp)
14
15 add_library(lat_progress progress.cpp)
16
17 find_package(OpenGL REQUIRED)
18 find_package(GLUT REQUIRED)
19 include_directories( ${OPENGL_INCLUDE_DIRS}  ${GLUT_INCLUDE_DIRS} ../ )
20 add_library(lat_culooks culooks.cpp culooks_cube.cpp culooks_drawing.cpp)
21 target_link_libraries(lat_culooks ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} pthread)
22
23 add_executable(neigh_test neigh_test.cpp)
24 target_link_libraries(neigh_test lat_neigh)
25
26 add_executable(culooks_test culooks_test.cpp)
27 target_link_libraries(culooks_test lat_culooks)