2016-12-30 10:13:28 -05:00
|
|
|
project(devices)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
if (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(bladerf)
|
2017-01-07 05:24:09 -05:00
|
|
|
add_subdirectory(hackrf)
|
2017-05-08 21:56:01 -04:00
|
|
|
add_subdirectory(limesdr)
|
2017-05-14 16:27:47 -04:00
|
|
|
add_subdirectory(sdrdaemon)
|
2017-05-08 12:30:52 -04:00
|
|
|
else(BUILD_DEBIAN)
|
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerf)
|
|
|
|
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-08 21:56:01 -04:00
|
|
|
find_package(LimeSuite)
|
2017-05-08 12:30:52 -04:00
|
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
add_subdirectory(limesdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
2017-05-14 16:27:47 -04:00
|
|
|
|
|
|
|
find_package(CM256cc)
|
|
|
|
if(CM256CC_FOUND)
|
|
|
|
add_subdirectory(sdrdaemon)
|
|
|
|
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
|
|
|
|
2016-12-30 10:13:28 -05:00
|
|
|
endif (BUILD_DEBIAN)
|