1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00
sdrangel/ft8/CMakeLists.txt

50 lines
782 B
CMake
Raw Normal View History

project(ft8)
set(ft8_SOURCES
fft.cpp
fftbuffers.cpp
ft8.cpp
ft8plan.cpp
ft8plans.cpp
libldpc.cpp
osd.cpp
unpack.cpp
2023-01-12 14:54:42 -05:00
unpack0.cpp
util.cpp
)
set(ft8_HEADERS
fft.h
fftbuffers.h
ft8.h
ft8plan.h
ft8plans.h
libldpc.h
osd.h
unpack.h
util.h
)
include_directories(
${FFTW3F_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/sdrbase
)
add_library(ft8 SHARED
${ft8_SOURCES}
)
target_link_libraries(ft8
Boost::disable_autolinking
${FFTW3F_LIBRARIES}
Qt::Core
sdrbase
)
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>")
install(TARGETS ft8 DESTINATION ${INSTALL_LIB_DIR})