CMakeLists.txt 528 Bytes
Newer Older
1
2
3
4
5
6
7
8
if(ENABLE_CUDA)

set(PSRDADA_CPP_EFFELSBERG_EDD_LIBRARIES
    ${CMAKE_PROJECT_NAME}
    ${CMAKE_PROJECT_NAME}_effelsberg_edd
    ${DEPENDENCY_LIBRARIES})

set(psrdada_cpp_effelsberg_edd_src
9
    src/eddfft.cu
10
11
12
13
14
    )

cuda_add_library(${CMAKE_PROJECT_NAME}_effelsberg_edd ${psrdada_cpp_effelsberg_edd_src})

#simple FFT spectrometer test
15
cuda_add_executable(edd_specpol src/eddfft_test.cu)
16
17
18
19
20
target_link_libraries(edd_specpol ${PSRDADA_CPP_EFFELSBERG_EDD_LIBRARIES})
install(TARGETS edd_specpol DESTINATION bin)


endif(ENABLE_CUDA)