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