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)
|
|
|
|
find_package(LibNANOMSG)
|
|
|
|
if(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
|
|
|
add_subdirectory(sdrdaemonsink)
|
|
|
|
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
|
|
|
|
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)
|
|
|
|
if (LIBNANOMSG_FOUND)
|
|
|
|
add_subdirectory(sdrdaemonsink)
|
|
|
|
endif (LIBNANOMSG_FOUND)
|
2017-12-17 04:25:08 -05:00
|
|
|
endif (BUILD_DEBIAN)
|
2017-12-19 19:01:53 -05:00
|
|
|
|
|
|
|
add_subdirectory(filesink)
|