2016-12-30 10:13:28 -05:00
|
|
|
project(devices)
|
|
|
|
|
2018-11-24 15:21:04 -05:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
|
|
|
2016-12-30 10:13:28 -05:00
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
if (BUILD_DEBIAN)
|
2018-09-18 23:26:18 -04:00
|
|
|
add_subdirectory(bladerf1)
|
2018-09-21 20:55:40 -04:00
|
|
|
add_subdirectory(bladerf2)
|
2017-01-07 05:24:09 -05:00
|
|
|
add_subdirectory(hackrf)
|
2017-05-08 21:56:01 -04:00
|
|
|
add_subdirectory(limesdr)
|
2018-02-10 16:55:59 -05:00
|
|
|
add_subdirectory(perseus)
|
2017-09-01 22:21:41 -04:00
|
|
|
add_subdirectory(plutosdr)
|
2018-12-01 04:09:10 -05:00
|
|
|
add_subdirectory(soapysdr)
|
2017-05-08 12:30:52 -04:00
|
|
|
else(BUILD_DEBIAN)
|
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2018-09-18 23:26:18 -04:00
|
|
|
add_subdirectory(bladerf1)
|
2018-09-21 20:55:40 -04:00
|
|
|
add_subdirectory(bladerf2)
|
2017-05-08 12:30:52 -04:00
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
add_subdirectory(hackrf)
|
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
|
2017-05-08 21:56:01 -04:00
|
|
|
find_package(LimeSuite)
|
2017-05-08 12:30:52 -04:00
|
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
add_subdirectory(limesdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
2018-12-19 07:22:49 -05:00
|
|
|
|
2018-12-28 19:20:48 -05:00
|
|
|
find_package(LibXTRX)
|
|
|
|
if(LIBXTRX_FOUND)
|
|
|
|
add_subdirectory(xtrx)
|
|
|
|
endif(LIBXTRX_FOUND)
|
2019-01-05 11:51:52 -05:00
|
|
|
|
2017-09-01 22:21:41 -04:00
|
|
|
find_package(LibIIO)
|
|
|
|
if(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
add_subdirectory(plutosdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIBIIO_FOUND)
|
2018-12-19 07:22:49 -05:00
|
|
|
|
2018-02-06 12:49:22 -05:00
|
|
|
find_package(LibPerseus)
|
|
|
|
if(LIBUSB_FOUND AND LIBPERSEUS_FOUND)
|
|
|
|
add_subdirectory(perseus)
|
|
|
|
endif()
|
2018-12-19 07:22:49 -05:00
|
|
|
|
2018-10-29 11:39:25 -04:00
|
|
|
find_package(SoapySDR)
|
2018-12-19 07:22:49 -05:00
|
|
|
if(SOAPYSDR_FOUND)
|
2018-10-29 11:39:25 -04:00
|
|
|
add_subdirectory(soapysdr)
|
|
|
|
endif()
|
2016-12-30 10:13:28 -05:00
|
|
|
endif (BUILD_DEBIAN)
|