2023-01-08 13:03:29 -05:00
|
|
|
project(ft8)
|
|
|
|
|
|
|
|
set(ft8_SOURCES
|
|
|
|
fft.cpp
|
2023-01-25 10:30:40 -05:00
|
|
|
fftbuffers.cpp
|
2023-01-08 13:03:29 -05:00
|
|
|
ft8.cpp
|
2023-01-25 03:11:18 -05:00
|
|
|
ft8plan.cpp
|
|
|
|
ft8plans.cpp
|
2023-01-08 13:03:29 -05:00
|
|
|
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
|
2023-01-25 10:30:40 -05:00
|
|
|
fftbuffers.h
|
2023-01-08 13:03:29 -05:00
|
|
|
ft8.h
|
2023-01-25 03:11:18 -05:00
|
|
|
ft8plan.h
|
|
|
|
ft8plans.h
|
2023-01-08 13:03:29 -05:00
|
|
|
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
|
|
|
)
|
|
|
|
|
2023-01-19 17:51:43 -05:00
|
|
|
# remove or comment when debugging is done
|
|
|
|
# set_property(TARGET ft8 PROPERTY COMPILE_OPTIONS "$<$<CONFIG:Debug>:-Og>")
|
|
|
|
|
2023-01-08 13:03:29 -05:00
|
|
|
install(TARGETS ft8 DESTINATION ${INSTALL_LIB_DIR})
|