File: CMakeLists.txt

package info (click to toggle)
libxtrx 0.0.1%2Bgit20191219.98458ce-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 520 kB
  • sloc: ansic: 6,598; cpp: 1,857; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set(CMAKE_CXX_STANDARD 11)
project(soapyxtrx C CXX)

find_package(SoapySDR REQUIRED)

add_executable(test_xtrx_soapy test_xtrx_soapy.c)
target_link_libraries(test_xtrx_soapy ${SoapySDR_LIBRARIES})

SOAPY_SDR_MODULE_UTIL(
    TARGET XTRXSupport
    SOURCES
        Registration.cpp
        SoapyXTRX.cpp
    LIBRARIES
        xtrx
)