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
|
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}
|
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
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(sdrbench
|
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})
|