29 lines
891 B
CMake
29 lines
891 B
CMake
SET(tolink CosmoTool ${GSL_LIBRARY} ${GSLCBLAS_LIBRARY})
|
|
include_directories(${CMAKE_SOURCE_DIR}/src ${NETCDF_INCLUDE_PATH} ${GSL_INCLUDE_PATH})
|
|
|
|
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})
|
|
|
|
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})
|
|
|
|
add_executable(testNewton testNewton.cpp)
|
|
target_link_libraries(testNewton ${tolink})
|
|
|
|
if (HDF5_FOUND)
|
|
add_executable(testReadFlash testReadFlash.cpp)
|
|
target_link_libraries(testReadFlash ${tolink})
|
|
endif (HDF5_FOUND)
|