2016-12-30 15:13:28 +00:00
|
|
|
project(devices)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
if (BUILD_DEBIAN)
|
2018-09-19 03:26:18 +00:00
|
|
|
add_subdirectory(bladerf1)
|
2018-09-22 00:55:40 +00:00
|
|
|
add_subdirectory(bladerf2)
|
2017-01-07 10:24:09 +00:00
|
|
|
add_subdirectory(hackrf)
|
2017-05-09 01:56:01 +00:00
|
|
|
add_subdirectory(limesdr)
|
2018-02-10 21:55:59 +00:00
|
|
|
add_subdirectory(perseus)
|
2017-09-02 02:21:41 +00:00
|
|
|
add_subdirectory(plutosdr)
|
2018-10-29 15:39:25 +00:00
|
|
|
add_subdirectory(soapysdr)
|
2017-05-08 16:30:52 +00:00
|
|
|
else(BUILD_DEBIAN)
|
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2018-09-19 03:26:18 +00:00
|
|
|
add_subdirectory(bladerf1)
|
2018-09-22 00:55:40 +00:00
|
|
|
add_subdirectory(bladerf2)
|
2017-05-08 16:30:52 +00: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-09 01:56:01 +00:00
|
|
|
find_package(LimeSuite)
|
2017-05-08 16:30:52 +00:00
|
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
add_subdirectory(limesdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
2017-05-14 20:27:47 +00:00
|
|
|
|
2017-09-02 02:21:41 +00:00
|
|
|
find_package(LibIIO)
|
|
|
|
if(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
add_subdirectory(plutosdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
|
2018-02-06 17:49:22 +00:00
|
|
|
find_package(LibPerseus)
|
|
|
|
if(LIBUSB_FOUND AND LIBPERSEUS_FOUND)
|
|
|
|
add_subdirectory(perseus)
|
|
|
|
endif()
|
2018-10-29 15:39:25 +00:00
|
|
|
|
|
|
|
find_package(SoapySDR)
|
|
|
|
if(LIBUSB_FOUND AND SOAPYSDR_FOUND)
|
|
|
|
add_subdirectory(soapysdr)
|
|
|
|
endif()
|
2016-12-30 15:13:28 +00:00
|
|
|
endif (BUILD_DEBIAN)
|