2017-12-17 04:25:08 -05:00
|
|
|
project(samplesink)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
2018-04-05 15:24:01 -04:00
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerfoutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
2017-12-28 18:44:17 -05:00
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
add_subdirectory(hackrfoutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
|
2017-12-17 04:25:08 -05:00
|
|
|
find_package(LimeSuite)
|
|
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
add_subdirectory(limesdroutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
|
2018-05-29 16:03:47 -04:00
|
|
|
find_package(LibIIO)
|
|
|
|
if(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
add_subdirectory(plutosdroutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
|
2018-05-29 16:14:37 -04:00
|
|
|
find_package(CM256cc)
|
2018-09-09 04:45:34 -04:00
|
|
|
if(CM256CC_FOUND)
|
2018-05-29 16:14:37 -04:00
|
|
|
add_subdirectory(sdrdaemonsink)
|
2018-09-09 04:45:34 -04:00
|
|
|
endif(CM256CC_FOUND)
|
2018-05-29 16:14:37 -04:00
|
|
|
|
2017-12-17 04:25:08 -05:00
|
|
|
if (BUILD_DEBIAN)
|
2018-05-29 16:03:47 -04:00
|
|
|
add_subdirectory(bladerfoutput)
|
2017-12-28 18:44:17 -05:00
|
|
|
add_subdirectory(hackrfoutput)
|
2018-05-29 16:03:47 -04:00
|
|
|
add_subdirectory(limesdroutput)
|
2018-05-29 16:14:37 -04:00
|
|
|
add_subdirectory(plutosdroutput)
|
2018-09-09 04:45:34 -04:00
|
|
|
add_subdirectory(sdrdaemonsink)
|
2017-12-17 04:25:08 -05:00
|
|
|
endif (BUILD_DEBIAN)
|
2017-12-19 19:01:53 -05:00
|
|
|
|
|
|
|
add_subdirectory(filesink)
|