2017-12-17 04:25:08 -05:00
|
|
|
project(samplesource)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
if(V4L-RTL)
|
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
|
|
|
# add_subdirectory(v4l-rtl)
|
|
|
|
endif()
|
|
|
|
if(V4L-MSI)
|
2018-04-05 15:24:01 -04:00
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
2017-12-17 04:25:08 -05:00
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
|
|
|
# add_subdirectory(v4l-msi)
|
|
|
|
endif()
|
|
|
|
|
2018-04-05 15:24:01 -04:00
|
|
|
find_package(LibAIRSPYHF)
|
|
|
|
if(LIBUSB_FOUND AND LIBAIRSPYHF_FOUND)
|
|
|
|
add_subdirectory(airspyhf)
|
|
|
|
endif(LIBUSB_FOUND AND LIBAIRSPYHF_FOUND)
|
|
|
|
|
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerfinput)
|
|
|
|
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(hackrfinput)
|
|
|
|
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(limesdrinput)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
|
|
|
|
find_package(LibRTLSDR)
|
|
|
|
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
|
|
|
add_subdirectory(rtlsdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
|
|
|
|
|
|
|
if (BUILD_DEBIAN)
|
2018-04-05 15:24:01 -04:00
|
|
|
add_subdirectory(airspyhf)
|
2017-12-28 18:44:17 -05:00
|
|
|
add_subdirectory(hackrfinput)
|
2017-12-19 19:01:53 -05:00
|
|
|
add_subdirectory(limesdrinput)
|
2017-12-17 04:25:08 -05:00
|
|
|
add_subdirectory(rtlsdr)
|
|
|
|
endif (BUILD_DEBIAN)
|
|
|
|
|
2017-12-19 19:01:53 -05:00
|
|
|
add_subdirectory(filesource)
|