2018-04-23 14:43:18 +00:00
|
|
|
project (sdrbench)
|
|
|
|
|
|
|
|
set(sdrbench_SOURCES
|
|
|
|
mainbench.cpp
|
|
|
|
parserbench.cpp
|
2021-04-17 16:14:15 +00:00
|
|
|
test_golay2312.cpp
|
2018-04-23 14:43:18 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrbench_HEADERS
|
|
|
|
mainbench.h
|
|
|
|
parserbench.h
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(sdrbench SHARED
|
|
|
|
${sdrbench_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2018-04-23 16:24:45 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2019-05-01 09:54:58 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
2018-04-23 14:43:18 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/logging
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(sdrbench
|
2019-05-01 09:54:58 +00:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Gui
|
2018-04-23 16:24:45 +00:00
|
|
|
sdrbase
|
2018-04-23 14:43:18 +00:00
|
|
|
logging
|
|
|
|
)
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
install(TARGETS sdrbench DESTINATION ${INSTALL_LIB_DIR})
|