cosmotool/sample/CMakeLists.txt

47 lines
1.4 KiB
CMake
Raw Normal View History

SET(tolink ${GSL_LIBRARIES} CosmoTool ${CosmoTool_LIBS})
include_directories(${CMAKE_SOURCE_DIR}/src ${FFTW3_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${NETCDF_INCLUDE_PATH} ${GSL_INCLUDE_PATH})
2010-09-12 21:36:37 +02:00
add_executable(testBQueue testBQueue.cpp)
target_link_libraries(testBQueue ${tolink})
add_executable(testInterpolate testInterpolate.cpp)
target_link_libraries(testInterpolate ${tolink})
add_executable(testSmooth testSmooth.cpp)
target_link_libraries(testSmooth ${tolink})
2010-09-15 20:51:18 +02:00
add_executable(testkd testkd.cpp)
target_link_libraries(testkd ${tolink})
add_executable(testkd2 testkd2.cpp)
target_link_libraries(testkd2 ${tolink})
add_executable(testDelaunay testDelaunay.cpp)
target_link_libraries(testDelaunay ${tolink})
2011-02-11 04:07:24 +01:00
add_executable(testNewton testNewton.cpp)
2011-06-06 16:09:39 +02:00
target_link_libraries(testNewton ${tolink})
2012-05-19 00:16:13 +02:00
add_executable(testPool testPool.cpp)
target_link_libraries(testPool ${tolink})
2011-06-06 16:09:39 +02:00
if (HDF5_FOUND)
add_executable(testReadFlash testReadFlash.cpp)
target_link_libraries(testReadFlash ${tolink})
endif (HDF5_FOUND)
add_executable(testEskow testEskow.cpp)
2012-05-28 14:54:14 +02:00
target_link_libraries(testEskow ${tolink})
add_executable(testAlgo testAlgo.cpp)
2012-09-17 23:24:04 +02:00
target_link_libraries(testAlgo ${tolink})
add_executable(testBSP testBSP.cpp)
2012-09-17 23:24:27 +02:00
target_link_libraries(testBSP ${tolink})
if (FFTW3_FOUND AND EIGEN3_FOUND)
add_executable(test_fft_calls test_fft_calls)
target_link_libraries(test_fft_calls ${tolink} ${FFTW3_LIBRARIES})
endif (FFTW3_FOUND AND EIGEN3_FOUND)