2023-01-08 18:03:29 +00:00
|
|
|
project(ft8)
|
|
|
|
|
|
|
|
set(ft8_SOURCES
|
|
|
|
fft.cpp
|
|
|
|
ft8.cpp
|
|
|
|
libldpc.cpp
|
|
|
|
osd.cpp
|
|
|
|
unpack.cpp
|
|
|
|
util.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(ft8_HEADERS
|
|
|
|
fft.h
|
|
|
|
ft8.h
|
|
|
|
libldpc.h
|
|
|
|
osd.h
|
|
|
|
unpack.h
|
|
|
|
util.h
|
|
|
|
)
|
|
|
|
|
2023-01-10 23:21:47 +00:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2023-01-11 00:32:14 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
2023-01-10 23:21:47 +00:00
|
|
|
)
|
|
|
|
|
2023-01-08 18:03:29 +00:00
|
|
|
add_library(ft8 SHARED
|
|
|
|
${ft8_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(ft8
|
|
|
|
${FFTW3F_LIBRARIES}
|
2023-01-10 23:21:47 +00:00
|
|
|
Qt::Core
|
2023-01-11 00:32:14 +00:00
|
|
|
sdrbase
|
2023-01-08 18:03:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS ft8 DESTINATION ${INSTALL_LIB_DIR})
|