SET(tolink ${CMAKE_BINARY_DIR}/src/libCosmoTool.so ${GSL_LIBRARY} ${GSLCBLAS_LIBRARY}) include_directories(${CMAKE_SOURCE_DIR}/src) 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})