2014-05-18 11:52:39 -04:00
|
|
|
project(samplesource)
|
|
|
|
|
2019-07-07 18:59:04 -04:00
|
|
|
add_subdirectory(fileinput)
|
2019-05-01 05:54:58 -04:00
|
|
|
add_subdirectory(testsource)
|
|
|
|
add_subdirectory(localinput)
|
2014-05-18 11:52:39 -04:00
|
|
|
|
2020-11-23 15:16:25 -05:00
|
|
|
if (CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
|
2019-05-01 05:54:58 -04:00
|
|
|
add_subdirectory(remoteinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building remoteinput (CM256CC_FOUND=${CM256CC_FOUND} HAS_SSE3=${HAS_SSE3} HAS_NEON=${HAS_NEON})")
|
2020-11-23 15:16:25 -05:00
|
|
|
endif()
|
2014-11-05 07:34:33 -05:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_AIRSPY AND LIBAIRSPY_FOUND)
|
2016-10-25 20:40:00 -04:00
|
|
|
add_subdirectory(airspy)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building airspy (ENABLE_AIRSPY=${ENABLE_AIRSPY} LIBAIRSPY_FOUND=${LIBAIRSPY_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2015-09-09 23:53:37 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_AIRSPYHF AND LIBAIRSPYHF_FOUND)
|
2018-01-10 20:21:29 -05:00
|
|
|
add_subdirectory(airspyhf)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building airspyhf (ENABLE_AIRSPYHF=${ENABLE_AIRSPYHF} LIBAIRSPYHF_FOUND=${LIBAIRSPYHF_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2018-01-10 20:21:29 -05:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_BLADERF AND LIBBLADERF_FOUND)
|
2018-09-19 07:28:14 -04:00
|
|
|
add_subdirectory(bladerf1input)
|
2018-09-23 13:56:24 -04:00
|
|
|
add_subdirectory(bladerf2input)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building bladerf1input or bladerf2input (ENABLE_BLADERF=${ENABLE_BLADERF} LIBBLADERF_FOUND=${LIBBLADERF_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2018-05-29 11:00:53 -04:00
|
|
|
|
2022-05-29 16:26:04 -04:00
|
|
|
if(ENABLE_FUNCUBE AND LIBUSB_FOUND AND HIDAPI_FOUND)
|
2022-03-05 19:30:15 -05:00
|
|
|
add_subdirectory(fcdpro)
|
|
|
|
add_subdirectory(fcdproplus)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building fcdpro or fcdproplus (ENABLE_FUNCUBE=${ENABLE_FUNCUBE} LIBUSB_FOUND=${LIBUSB_FOUND} HIDAPI_FOUND=${HIDAPI_FOUND})")
|
2022-03-05 19:30:15 -05:00
|
|
|
endif()
|
2018-05-29 11:00:53 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_HACKRF AND LIBHACKRF_FOUND)
|
2016-12-26 21:14:50 -05:00
|
|
|
add_subdirectory(hackrfinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building hackrfinput (ENABLE_HACKRF=${ENABLE_HACKRF} LIBHACKRF_FOUND=${LIBHACKRF_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2015-09-23 20:50:24 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_LIMESUITE AND LIMESUITE_FOUND)
|
2017-04-15 22:58:52 -04:00
|
|
|
add_subdirectory(limesdrinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building limesdrinput (ENABLE_LIMESUITE=${ENABLE_LIMESUITE} LIMESUITE_FOUND=${LIMESUITE_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(ENABLE_MIRISDR AND LIBMIRISDR_FOUND)
|
|
|
|
add_subdirectory(sdrplay)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building sdrplay (ENABLE_MIRISDR=${ENABLE_MIRISDR} LIBMIRISDR_FOUND=${LIBMIRISDR_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2017-04-15 22:58:52 -04:00
|
|
|
|
2021-04-11 16:21:36 -04:00
|
|
|
if(ENABLE_SDRPLAY AND SDRPLAY_FOUND)
|
|
|
|
add_subdirectory(sdrplayv3)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building sdrplayv3 (ENABLE_SDRPLAY=${ENABLE_SDRPLAY} SDRPLAY_FOUND=${SDRPLAY_FOUND})")
|
2021-04-11 16:21:36 -04:00
|
|
|
endif()
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_PERSEUS AND LIBPERSEUS_FOUND AND RX_SAMPLE_24BIT)
|
2018-05-29 11:00:53 -04:00
|
|
|
add_subdirectory(perseus)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building perseus (ENABLE_PERSEUS=${ENABLE_PERSEUS} LIBPERSEUS_FOUND=${LIBPERSEUS_FOUND} RX_SAMPLE_24BIT=${RX_SAMPLE_24BIT})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2018-05-29 11:00:53 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_XTRX AND LIBXTRX_FOUND)
|
|
|
|
add_subdirectory(xtrxinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building xtrxinput (ENABLE_XTRX=${ENABLE_XTRX} LIBXTRX_FOUND=${LIBXTRX_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2018-12-28 19:20:48 -05:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_IIO AND LIBIIO_FOUND)
|
2017-09-01 23:39:55 -04:00
|
|
|
add_subdirectory(plutosdrinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building plutosdrinput (ENABLE_IIO=${ENABLE_IIO} LIBIIO_FOUND=${LIBIIO_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2017-09-01 23:39:55 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_RTLSDR AND LIBRTLSDR_FOUND)
|
2018-05-29 11:00:53 -04:00
|
|
|
add_subdirectory(rtlsdr)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building rtlsdr (ENABLE_RTLSDR=${ENABLE_RTLSDR} LIBRTLSDR_FOUND=${LIBRTLSDR_FOUND})")
|
2018-10-29 11:39:25 -04:00
|
|
|
endif()
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
if(ENABLE_SOAPYSDR AND SOAPYSDR_FOUND)
|
2018-12-01 04:09:10 -05:00
|
|
|
add_subdirectory(soapysdrinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building soapysdrinput (ENABLE_SOAPYSDR=${ENABLE_SOAPYSDR} SOAPYSDR_FOUND=${SOAPYSDR_FOUND})")
|
2019-05-01 05:54:58 -04:00
|
|
|
endif()
|
2016-10-25 20:40:00 -04:00
|
|
|
|
2023-05-26 03:28:12 -04:00
|
|
|
if(LIBSIGMF_FOUND)
|
2020-11-09 20:09:21 -05:00
|
|
|
add_subdirectory(sigmffileinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building sigmffileinput (LIBSIGMF_FOUND=${LIBSIGMF_FOUND})")
|
2020-11-09 20:09:21 -05:00
|
|
|
endif()
|
|
|
|
|
2020-10-02 17:45:28 -04:00
|
|
|
if(ENABLE_USRP AND UHD_FOUND)
|
|
|
|
add_subdirectory(usrpinput)
|
2023-07-30 17:11:31 -04:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building usrpinput (ENABLE_USRP=${ENABLE_USRP} UHD_FOUND=${UHD_FOUND})")
|
2020-10-02 17:45:28 -04:00
|
|
|
endif()
|
|
|
|
|
2020-11-09 16:12:08 -05:00
|
|
|
add_subdirectory(audioinput)
|
2020-11-09 20:09:21 -05:00
|
|
|
add_subdirectory(kiwisdr)
|
2022-07-19 05:10:20 -04:00
|
|
|
add_subdirectory(remotetcpinput)
|
2023-03-24 13:26:26 -04:00
|
|
|
add_subdirectory(aaroniartsainput)
|
2023-09-08 05:52:51 -04:00
|
|
|
if(ANDROID)
|
|
|
|
add_subdirectory(androidsdrdriverinput)
|
|
|
|
endif()
|