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)
|
|
|
|
|
|
|
|
if (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(limesdroutput)
|
2017-12-28 18:44:17 -05:00
|
|
|
add_subdirectory(hackrfoutput)
|
2017-12-17 04:25:08 -05:00
|
|
|
endif (BUILD_DEBIAN)
|
2017-12-19 19:01:53 -05:00
|
|
|
|
|
|
|
add_subdirectory(filesink)
|