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)
|
|
|
|
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()
|
|
|
|
|
2014-11-29 18:09:35 +00:00
|
|
|
if(LIBUSB_FOUND AND UNIX)
|
2016-10-26 00:40:00 +00:00
|
|
|
FIND_PATH (ASOUNDH alsa/asoundlib.h)
|
|
|
|
FIND_LIBRARY (LIBASOUND asound)
|
2014-11-30 21:59:06 +00:00
|
|
|
endif()
|
|
|
|
if(LIBASOUND AND ASOUNDH)
|
2016-10-26 00:40:00 +00:00
|
|
|
add_subdirectory(fcdpro)
|
|
|
|
add_subdirectory(fcdproplus)
|
2014-11-29 18:09:35 +00:00
|
|
|
endif()
|
|
|
|
|
2014-12-28 19:04:26 +00:00
|
|
|
find_package(LibRTLSDR)
|
2014-05-18 15:52:39 +00:00
|
|
|
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
2016-10-26 00:40:00 +00:00
|
|
|
add_subdirectory(rtlsdr)
|
2014-05-18 15:52:39 +00:00
|
|
|
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
2014-12-01 19:49:00 +00:00
|
|
|
|
2015-06-07 01:30:28 +00:00
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2016-12-27 02:11:57 +00:00
|
|
|
add_subdirectory(bladerfinput)
|
2015-06-07 01:30:28 +00:00
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
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)
|
|
|
|
|
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)
|
|
|
|
|
2016-11-15 13:17:45 +00:00
|
|
|
find_package(LibMiriSDR)
|
|
|
|
if(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
|
2016-11-13 01:59:31 +00:00
|
|
|
add_subdirectory(sdrplay)
|
2016-11-15 13:17:45 +00:00
|
|
|
message(STATUS "LibMiriSDR found")
|
|
|
|
else(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
|
|
|
|
message(STATUS "LibMiriSDR NOT found")
|
|
|
|
endif(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
|
2016-11-13 01:59:31 +00:00
|
|
|
|
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)
|
|
|
|
|
2016-07-23 17:59:42 +00:00
|
|
|
find_package(CM256cc)
|
2017-06-12 14:31:54 +00:00
|
|
|
find_package(LibNANOMSG)
|
2016-11-21 16:48:30 +00:00
|
|
|
if(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
2017-06-09 11:42:33 +00:00
|
|
|
add_subdirectory(sdrdaemonsource)
|
2016-11-21 16:48:30 +00:00
|
|
|
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
2016-06-19 22:45:24 +00:00
|
|
|
|
2016-10-26 00:40:00 +00:00
|
|
|
if (BUILD_DEBIAN)
|
2016-12-07 16:05:51 +00:00
|
|
|
if (LIBNANOMSG_FOUND)
|
2017-06-09 11:42:33 +00:00
|
|
|
add_subdirectory(sdrdaemonsource)
|
2016-12-07 16:05:51 +00:00
|
|
|
endif (LIBNANOMSG_FOUND)
|
2016-10-26 00:40:00 +00:00
|
|
|
add_subdirectory(airspy)
|
2016-12-27 02:14:50 +00:00
|
|
|
add_subdirectory(hackrfinput)
|
2016-10-26 00:40:00 +00:00
|
|
|
add_subdirectory(rtlsdr)
|
2016-12-27 02:11:57 +00:00
|
|
|
add_subdirectory(bladerfinput)
|
2016-11-23 23:51:01 +00:00
|
|
|
add_subdirectory(sdrplay)
|
2017-05-09 01:30:26 +00:00
|
|
|
add_subdirectory(limesdrinput)
|
2016-10-26 00:40:00 +00:00
|
|
|
endif (BUILD_DEBIAN)
|
|
|
|
|
2015-08-02 23:04:20 +00:00
|
|
|
add_subdirectory(filesource)
|
2016-03-27 02:33:12 +00:00
|
|
|
|