2014-05-18 11:52:39 -04:00
|
|
|
project(samplesource)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
2015-03-31 13:46:29 -04:00
|
|
|
if(V4L-RTL)
|
2016-10-25 20:40:00 -04:00
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
|
|
|
# add_subdirectory(v4l-rtl)
|
2015-03-31 13:46:29 -04:00
|
|
|
endif()
|
|
|
|
if(V4L-MSI)
|
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
2016-10-25 20:40:00 -04:00
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
|
|
|
# add_subdirectory(v4l-msi)
|
2014-11-05 07:34:33 -05:00
|
|
|
endif()
|
|
|
|
|
2014-11-29 13:09:35 -05:00
|
|
|
if(LIBUSB_FOUND AND UNIX)
|
2016-10-25 20:40:00 -04:00
|
|
|
FIND_PATH (ASOUNDH alsa/asoundlib.h)
|
|
|
|
FIND_LIBRARY (LIBASOUND asound)
|
2014-11-30 16:59:06 -05:00
|
|
|
endif()
|
|
|
|
if(LIBASOUND AND ASOUNDH)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(fcdpro)
|
|
|
|
add_subdirectory(fcdproplus)
|
2014-11-29 13:09:35 -05:00
|
|
|
endif()
|
|
|
|
|
2014-12-28 14:04:26 -05:00
|
|
|
find_package(LibRTLSDR)
|
2014-05-18 11:52:39 -04:00
|
|
|
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(rtlsdr)
|
2014-05-18 11:52:39 -04:00
|
|
|
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
2014-12-01 14:49:00 -05:00
|
|
|
|
2015-06-06 21:30:28 -04:00
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(bladerf)
|
2015-06-06 21:30:28 -04:00
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
2015-09-09 23:53:37 -04:00
|
|
|
find_package(LibAIRSPY)
|
|
|
|
if(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(airspy)
|
2015-09-09 23:53:37 -04:00
|
|
|
endif(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
|
|
|
|
|
2015-09-23 20:50:24 -04:00
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(hackrf)
|
2015-09-23 20:50:24 -04:00
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
|
2016-03-26 22:33:12 -04:00
|
|
|
#find_package(LibNANOMSG)
|
|
|
|
#if(LIBNANOMSG_FOUND)
|
|
|
|
# add_subdirectory(sdrdaemon)
|
|
|
|
#endif(LIBNANOMSG_FOUND)
|
|
|
|
|
2016-07-23 13:59:42 -04:00
|
|
|
find_package(CM256cc)
|
|
|
|
if(CM256CC_FOUND)
|
2016-06-19 18:45:24 -04:00
|
|
|
add_subdirectory(sdrdaemonfec)
|
2016-07-23 13:59:42 -04:00
|
|
|
endif(CM256CC_FOUND)
|
2016-06-19 18:45:24 -04:00
|
|
|
|
2016-10-25 20:40:00 -04:00
|
|
|
if (BUILD_DEBIAN)
|
2016-10-25 21:48:43 -04:00
|
|
|
add_subdirectory(sdrdaemonfec)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(airspy)
|
|
|
|
add_subdirectory(hackrf)
|
|
|
|
add_subdirectory(rtlsdr)
|
2016-11-02 10:51:45 -04:00
|
|
|
add_subdirectory(bladerf)
|
2016-10-25 20:40:00 -04:00
|
|
|
endif (BUILD_DEBIAN)
|
|
|
|
|
|
|
|
|
2015-08-02 19:04:20 -04:00
|
|
|
add_subdirectory(filesource)
|
2016-01-24 13:21:21 -05:00
|
|
|
add_subdirectory(sdrdaemon)
|
2016-03-26 22:33:12 -04:00
|
|
|
|