lasp/test/CMakeLists.txt

18 lines
661 B
CMake

include_directories(${CMAKE_SOURCE_DIR}/lasp/c)
include_directories(${CMAKE_SOURCE_DIR}/lasp/device)
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)