2016-10-19 16:32:14 -04:00
|
|
|
project(samplesink)
|
|
|
|
|
2016-12-29 06:41:10 -05:00
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
find_package(LibBLADERF)
|
2017-01-02 04:39:21 -05:00
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerfoutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2016-12-29 06:41:10 -05:00
|
|
|
|
2017-01-08 07:04:06 -05:00
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
add_subdirectory(hackrfoutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
2017-01-07 22:13:20 -05:00
|
|
|
|
2017-04-22 05:33:41 -04:00
|
|
|
find_package(LimeSuite)
|
|
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
add_subdirectory(limesdroutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
|
2017-05-14 18:58:56 -04:00
|
|
|
find_package(CM256cc)
|
2017-06-12 10:31:54 -04:00
|
|
|
find_package(LibNANOMSG)
|
2017-05-14 18:58:56 -04:00
|
|
|
if(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
|
|
|
add_subdirectory(sdrdaemonsink)
|
|
|
|
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
|
|
|
|
2017-01-02 04:39:21 -05:00
|
|
|
if (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(bladerfoutput)
|
2017-01-08 18:52:29 -05:00
|
|
|
add_subdirectory(hackrfoutput)
|
2017-05-08 21:30:26 -04:00
|
|
|
add_subdirectory(limesdroutput)
|
2017-05-14 18:58:56 -04:00
|
|
|
if (LIBNANOMSG_FOUND)
|
|
|
|
add_subdirectory(sdrdaemonsink)
|
|
|
|
endif (LIBNANOMSG_FOUND)
|
2017-01-02 04:39:21 -05:00
|
|
|
endif (BUILD_DEBIAN)
|
2016-12-29 06:41:10 -05:00
|
|
|
|
2016-10-19 16:32:14 -04:00
|
|
|
add_subdirectory(filesink)
|
|
|
|
|