2018-04-23 16:43:18 +02:00
|
|
|
project (sdrbench)
|
|
|
|
|
2023-01-12 17:29:24 +01:00
|
|
|
if (FT8_SUPPORT)
|
|
|
|
set(sdrbench_FT8_LIB ft8)
|
|
|
|
endif()
|
|
|
|
|
2018-04-23 16:43:18 +02:00
|
|
|
set(sdrbench_SOURCES
|
|
|
|
mainbench.cpp
|
|
|
|
parserbench.cpp
|
2021-04-17 18:14:15 +02:00
|
|
|
test_golay2312.cpp
|
2023-01-08 19:03:29 +01:00
|
|
|
test_ft8.cpp
|
2024-03-07 14:48:54 +01:00
|
|
|
test_callsign.cpp
|
2024-03-28 15:15:48 +01:00
|
|
|
test_ft8protocols.cpp
|
2018-04-23 16:43:18 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrbench_HEADERS
|
|
|
|
mainbench.h
|
|
|
|
parserbench.h
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(sdrbench SHARED
|
|
|
|
${sdrbench_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2023-01-08 19:03:29 +01:00
|
|
|
${FFTW3F_INCLUDE_DIRS}
|
2024-04-10 01:41:35 +01:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2018-04-23 18:24:45 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2019-05-01 11:54:58 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
2018-04-23 16:43:18 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/logging
|
2023-01-08 19:03:29 +01:00
|
|
|
${CMAKE_SOURCE_DIR}
|
2018-04-23 16:43:18 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(sdrbench
|
2024-04-10 01:41:35 +01:00
|
|
|
Boost::disable_autolinking
|
2023-01-08 19:03:29 +01:00
|
|
|
${FFTW3F_LIBRARIES}
|
2022-11-17 14:34:54 +00:00
|
|
|
Qt::Core
|
|
|
|
Qt::Gui
|
2018-04-23 18:24:45 +02:00
|
|
|
sdrbase
|
2018-04-23 16:43:18 +02:00
|
|
|
logging
|
2023-01-12 17:29:24 +01:00
|
|
|
${sdrbench_FT8_LIB}
|
2018-04-23 16:43:18 +02:00
|
|
|
)
|
|
|
|
|
2019-05-01 11:54:58 +02:00
|
|
|
install(TARGETS sdrbench DESTINATION ${INSTALL_LIB_DIR})
|