lasp/test/CMakeLists.txt

18 lines
661 B
CMake
Raw Normal View History

include_directories(${CMAKE_SOURCE_DIR}/lasp/c)
include_directories(${CMAKE_SOURCE_DIR}/lasp/device)
2020-10-14 07:42:19 +00:00
2018-01-29 15:14:50 +00:00
add_executable(test_bf test_bf.c)
add_executable(test_workers test_workers.c)
add_executable(test_fft test_fft.c)
add_executable(test_math test_math.c)
target_link_libraries(test_bf lasp_lib ${LASP_THREADING_LIBRARIES})
target_link_libraries(test_fft lasp_lib ${LASP_THREADING_LIBRARIES})
target_link_libraries(test_workers lasp_lib ${LASP_THREADING_LIBRARIES})
target_link_libraries(test_math lasp_lib ${LASP_THREADING_LIBRARIES})
if(LASP_ULDAQ)
add_executable(test_uldaq test_uldaq.cpp)
target_link_libraries(test_uldaq cpp_daq)
endif(LASP_ULDAQ)