2023-01-08 13:03:29 -05:00
|
|
|
project(ft8)
|
|
|
|
|
|
|
|
set(ft8_SOURCES
|
2024-03-28 10:15:48 -04:00
|
|
|
arrays.cpp
|
2023-01-08 13:03:29 -05:00
|
|
|
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
|
2024-04-03 06:54:03 -04:00
|
|
|
ft8stats.cpp
|
2023-01-08 13:03:29 -05:00
|
|
|
libldpc.cpp
|
|
|
|
osd.cpp
|
2024-03-28 10:15:48 -04:00
|
|
|
packing.cpp
|
|
|
|
pack0.cpp
|
2023-01-12 14:54:42 -05:00
|
|
|
unpack0.cpp
|
2023-01-08 13:03:29 -05:00
|
|
|
util.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(ft8_HEADERS
|
2024-03-28 10:15:48 -04:00
|
|
|
arrays.h
|
2023-01-08 13:03:29 -05:00
|
|
|
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
|
2024-04-03 06:54:03 -04:00
|
|
|
ft8stats.h
|
2023-01-08 13:03:29 -05:00
|
|
|
libldpc.h
|
|
|
|
osd.h
|
2024-03-28 10:15:48 -04:00
|
|
|
packing.h
|
|
|
|
pack0.h
|
|
|
|
unpack0.h
|
2023-01-08 13:03:29 -05:00
|
|
|
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
|
|
|
)
|
|
|
|
|
2024-09-11 15:16:40 -04:00
|
|
|
add_library(ft8
|
2023-01-08 13:03:29 -05:00
|
|
|
${ft8_SOURCES}
|
|
|
|
)
|
|
|
|
|
2024-09-11 15:16:40 -04:00
|
|
|
if(DEFINED FFTW3F_DEPENDS)
|
|
|
|
add_dependencies(ft8 "${FFTW3F_DEPENDS}")
|
|
|
|
endif()
|
|
|
|
|
2023-01-08 13:03:29 -05:00
|
|
|
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})
|