-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
27 lines (23 loc) · 816 Bytes
/
CMakeLists.txt
File metadata and controls
27 lines (23 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
########################################################################
# Build Multi Soapy SDR support module
########################################################################
cmake_minimum_required(VERSION 3.1...3.10)
project(SoapyMultiSDR CXX)
set(CMAKE_CXX_STANDARD 11)
find_package(SoapySDR 0.8.1 CONFIG)
if (NOT SoapySDR_FOUND)
message(FATAL_ERROR "Soapy SDR development files not found...")
endif ()
SOAPY_SDR_MODULE_UTIL(
TARGET MultiSDRSupport
SOURCES
Registration.cpp
Settings.cpp
Streaming.cpp
)
#unit test for string utils
enable_testing()
include_directories(${SoapySDR_INCLUDE_DIRS})
add_executable(TestMultiNameUtils TestMultiNameUtils.cpp)
target_link_libraries(TestMultiNameUtils ${SoapySDR_LIBRARIES})
add_test(TestMultiNameUtils TestMultiNameUtils)