]> git.treefish.org Git - phys/latlib.git/blob - CMakeLists.txt
writing some log messages to log file instead of cerr.
[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_neigh neigh.cpp)
7
8 add_library(lat_writeout writeout.cpp)
9
10 add_library(lat_paraq paraq.cpp)
11
12 add_library(lat_progress progress.cpp)
13
14 find_package(OpenGL REQUIRED)
15 find_package(GLUT REQUIRED)
16 include_directories( ${OPENGL_INCLUDE_DIRS}  ${GLUT_INCLUDE_DIRS} ../ )
17 add_library(lat_cubelooks cubelooks.cpp)
18 target_link_libraries(lat_cubelooks ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})
19
20 add_executable(neigh_test neigh_test.cpp)
21 target_link_libraries(neigh_test lat_neigh)
22
23 add_executable(cubelooks_test cubelooks_test.cpp)
24 target_link_libraries(cubelooks_test lat_cubelooks)