1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00
sdrangel/sdrbench/CMakeLists.txt

49 lines
843 B
CMake
Raw Normal View History

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
test_ft8.cpp
test_callsign.cpp
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(
${FFTW3F_INCLUDE_DIRS}
2024-04-09 20:41:35 -04:00
${Boost_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/sdrbase
2018-04-23 10:43:18 -04:00
${CMAKE_SOURCE_DIR}/logging
${CMAKE_SOURCE_DIR}
2018-04-23 10:43:18 -04:00
)
if(DEFINED FFTW3F_DEPENDS)
add_dependencies(sdrbench "${FFTW3F_DEPENDS}")
endif()
2018-04-23 10:43:18 -04:00
target_link_libraries(sdrbench
Boost::disable_autolinking
${FFTW3F_LIBRARIES}
Qt::Core
Qt::Gui
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
)
install(TARGETS sdrbench DESTINATION ${INSTALL_LIB_DIR})