2023-01-08 13:03:29 -05:00
|
|
|
project(ft8)
|
|
|
|
|
|
|
|
set(ft8_SOURCES
|
|
|
|
fft.cpp
|
|
|
|
ft8.cpp
|
|
|
|
libldpc.cpp
|
|
|
|
osd.cpp
|
|
|
|
unpack.cpp
|
2023-01-12 14:54:42 -05:00
|
|
|
unpack0.cpp
|
2023-01-08 13:03:29 -05:00
|
|
|
util.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(ft8_HEADERS
|
|
|
|
fft.h
|
|
|
|
ft8.h
|
|
|
|
libldpc.h
|
|
|
|
osd.h
|
|
|
|
unpack.h
|
|
|
|
util.h
|
|
|
|
)
|
|
|
|
|
2023-01-10 18:21:47 -05:00
|
|
|
include_directories(
|
2023-01-12 02:06:48 -05:00
|
|
|
${FFTW3F_INCLUDE_DIRS}
|
2023-01-12 04:27:43 -05:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2023-01-10 18:21:47 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2023-01-10 19:32:14 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
2023-01-10 18:21:47 -05:00
|
|
|
)
|
|
|
|
|
2023-01-08 13:03:29 -05:00
|
|
|
add_library(ft8 SHARED
|
|
|
|
${ft8_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(ft8
|
2023-01-10 22:49:16 -05:00
|
|
|
Boost::disable_autolinking
|
2023-01-08 13:03:29 -05:00
|
|
|
${FFTW3F_LIBRARIES}
|
2023-01-10 18:21:47 -05:00
|
|
|
Qt::Core
|
2023-01-10 19:32:14 -05:00
|
|
|
sdrbase
|
2023-01-08 13:03:29 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS ft8 DESTINATION ${INSTALL_LIB_DIR})
|