2023-01-08 18:03:29 +00:00
|
|
|
project(ft8)
|
|
|
|
|
|
|
|
set(ft8_SOURCES
|
|
|
|
fft.cpp
|
2023-01-25 15:30:40 +00:00
|
|
|
fftbuffers.cpp
|
2023-01-08 18:03:29 +00:00
|
|
|
ft8.cpp
|
2023-01-25 08:11:18 +00:00
|
|
|
ft8plan.cpp
|
|
|
|
ft8plans.cpp
|
2023-01-08 18:03:29 +00:00
|
|
|
libldpc.cpp
|
|
|
|
osd.cpp
|
|
|
|
unpack.cpp
|
2023-01-12 19:54:42 +00:00
|
|
|
unpack0.cpp
|
2023-01-08 18:03:29 +00:00
|
|
|
util.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(ft8_HEADERS
|
|
|
|
fft.h
|
2023-01-25 15:30:40 +00:00
|
|
|
fftbuffers.h
|
2023-01-08 18:03:29 +00:00
|
|
|
ft8.h
|
2023-01-25 08:11:18 +00:00
|
|
|
ft8plan.h
|
|
|
|
ft8plans.h
|
2023-01-08 18:03:29 +00:00
|
|
|
libldpc.h
|
|
|
|
osd.h
|
|
|
|
unpack.h
|
|
|
|
util.h
|
|
|
|
)
|
|
|
|
|
2023-01-10 23:21:47 +00:00
|
|
|
include_directories(
|
2023-01-12 07:06:48 +00:00
|
|
|
${FFTW3F_INCLUDE_DIRS}
|
2023-01-12 09:27:43 +00:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2023-01-10 23:21:47 +00:00
|
|
|
${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
|
2023-01-11 03:49:16 +00:00
|
|
|
Boost::disable_autolinking
|
2023-01-08 18:03:29 +00:00
|
|
|
${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
|
|
|
)
|
|
|
|
|
2023-01-19 22:51:43 +00:00
|
|
|
# remove or comment when debugging is done
|
|
|
|
# set_property(TARGET ft8 PROPERTY COMPILE_OPTIONS "$<$<CONFIG:Debug>:-Og>")
|
|
|
|
|
2023-01-08 18:03:29 +00:00
|
|
|
install(TARGETS ft8 DESTINATION ${INSTALL_LIB_DIR})
|