2014-05-18 15:52:39 +00:00
|
|
|
project(samplesource)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
2015-03-31 17:46:29 +00:00
|
|
|
if(V4L-RTL)
|
2016-10-26 00:40:00 +00:00
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
|
|
|
# add_subdirectory(v4l-rtl)
|
2015-03-31 17:46:29 +00:00
|
|
|
endif()
|
|
|
|
if(V4L-MSI)
|
2018-05-29 15:17:57 +00:00
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
2016-10-26 00:40:00 +00:00
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
|
|
|
# add_subdirectory(v4l-msi)
|
2014-11-05 12:34:33 +00:00
|
|
|
endif()
|
|
|
|
|
2015-09-10 03:53:37 +00:00
|
|
|
find_package(LibAIRSPY)
|
|
|
|
if(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
|
2016-10-26 00:40:00 +00:00
|
|
|
add_subdirectory(airspy)
|
2015-09-10 03:53:37 +00:00
|
|
|
endif(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
|
|
|
|
|
2018-01-11 01:21:29 +00:00
|
|
|
find_package(LibAIRSPYHF)
|
|
|
|
if(LIBUSB_FOUND AND LIBAIRSPYHF_FOUND)
|
|
|
|
add_subdirectory(airspyhf)
|
|
|
|
endif(LIBUSB_FOUND AND LIBAIRSPYHF_FOUND)
|
|
|
|
|
2018-05-29 15:00:53 +00:00
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2018-09-19 11:28:14 +00:00
|
|
|
add_subdirectory(bladerf1input)
|
2018-09-23 17:56:24 +00:00
|
|
|
add_subdirectory(bladerf2input)
|
2018-05-29 15:00:53 +00:00
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
2019-04-19 06:30:48 +00:00
|
|
|
if(LIBUSB_FOUND)
|
2018-05-29 15:00:53 +00:00
|
|
|
add_subdirectory(fcdpro)
|
|
|
|
add_subdirectory(fcdproplus)
|
2019-04-19 06:30:48 +00:00
|
|
|
endif(LIBUSB_FOUND)
|
2018-05-29 15:00:53 +00:00
|
|
|
|
2015-09-24 00:50:24 +00:00
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
2016-12-27 02:14:50 +00:00
|
|
|
add_subdirectory(hackrfinput)
|
2015-09-24 00:50:24 +00:00
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
|
2017-04-16 02:58:52 +00:00
|
|
|
find_package(LimeSuite)
|
|
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
add_subdirectory(limesdrinput)
|
|
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
|
2018-05-29 15:00:53 +00:00
|
|
|
find_package(LibPerseus)
|
|
|
|
if(LIBUSB_FOUND AND RX_SAMPLE_24BIT AND LIBPERSEUS_FOUND)
|
|
|
|
message(STATUS "Add Persesus plugin")
|
|
|
|
add_subdirectory(perseus)
|
|
|
|
endif(LIBUSB_FOUND AND RX_SAMPLE_24BIT AND LIBPERSEUS_FOUND)
|
|
|
|
|
2018-12-29 00:20:48 +00:00
|
|
|
find_package(LibXTRX)
|
|
|
|
if(LIBXTRX_FOUND)
|
|
|
|
add_subdirectory(xtrxinput)
|
|
|
|
endif(LIBXTRX_FOUND)
|
|
|
|
|
2017-09-02 03:39:55 +00:00
|
|
|
find_package(LibIIO)
|
|
|
|
if(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
add_subdirectory(plutosdrinput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBIIO_FOUND)
|
|
|
|
|
2018-05-29 15:00:53 +00:00
|
|
|
find_package(LibRTLSDR)
|
|
|
|
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
|
|
|
add_subdirectory(rtlsdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
|
|
|
|
2016-07-23 17:59:42 +00:00
|
|
|
find_package(CM256cc)
|
2018-09-09 08:45:34 +00:00
|
|
|
if(CM256CC_FOUND)
|
2019-02-02 23:26:26 +00:00
|
|
|
add_subdirectory(remoteinput)
|
2018-09-09 08:45:34 +00:00
|
|
|
endif(CM256CC_FOUND)
|
2016-06-19 22:45:24 +00:00
|
|
|
|
2018-05-29 15:00:53 +00:00
|
|
|
find_package(LibMiriSDR)
|
|
|
|
if(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
|
|
|
|
add_subdirectory(sdrplay)
|
|
|
|
message(STATUS "LibMiriSDR found")
|
|
|
|
else(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
|
|
|
|
message(STATUS "LibMiriSDR NOT found")
|
|
|
|
endif(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
|
2018-02-07 07:39:09 +00:00
|
|
|
|
2018-10-29 15:39:25 +00:00
|
|
|
find_package(SoapySDR)
|
2018-12-18 20:30:00 +00:00
|
|
|
if(SOAPYSDR_FOUND)
|
2018-10-29 15:39:25 +00:00
|
|
|
add_subdirectory(soapysdrinput)
|
|
|
|
message(STATUS "SoapySDR found")
|
|
|
|
else()
|
|
|
|
message(STATUS "SoapySDR not found")
|
|
|
|
endif()
|
|
|
|
|
2016-10-26 00:40:00 +00:00
|
|
|
if (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(airspy)
|
2018-01-11 01:21:29 +00:00
|
|
|
add_subdirectory(airspyhf)
|
2018-09-19 11:28:14 +00:00
|
|
|
add_subdirectory(bladerf1input)
|
2018-09-23 17:56:24 +00:00
|
|
|
add_subdirectory(bladerf2input)
|
2018-05-29 15:00:53 +00:00
|
|
|
add_subdirectory(hackrfinput)
|
2018-03-14 07:37:40 +00:00
|
|
|
add_subdirectory(limesdrinput)
|
2018-02-10 20:50:57 +00:00
|
|
|
add_subdirectory(perseus)
|
2017-09-02 03:39:55 +00:00
|
|
|
add_subdirectory(plutosdrinput)
|
2018-05-29 15:00:53 +00:00
|
|
|
add_subdirectory(rtlsdr)
|
2019-02-02 23:26:26 +00:00
|
|
|
add_subdirectory(remoteinput)
|
2018-05-29 15:00:53 +00:00
|
|
|
add_subdirectory(sdrplay)
|
2018-12-01 09:09:10 +00:00
|
|
|
add_subdirectory(soapysdrinput)
|
2016-10-26 00:40:00 +00:00
|
|
|
endif (BUILD_DEBIAN)
|
|
|
|
|
2015-08-02 23:04:20 +00:00
|
|
|
add_subdirectory(filesource)
|
2019-05-02 02:02:40 +00:00
|
|
|
add_subdirectory(localinput)
|
2018-01-14 01:25:24 +00:00
|
|
|
add_subdirectory(testsource)
|