1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-13 20:01:46 -05:00
sdrangel/plugins/samplesource/CMakeLists.txt

112 lines
3.6 KiB
CMake
Raw Normal View History

project(samplesource)
add_subdirectory(fileinput)
add_subdirectory(testsource)
add_subdirectory(localinput)
if (CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
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})")
endif()
2014-11-05 07:34:33 -05:00
if(ENABLE_AIRSPY AND LIBAIRSPY_FOUND)
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})")
endif()
2015-09-09 23:53:37 -04:00
if(ENABLE_AIRSPYHF AND LIBAIRSPYHF_FOUND)
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})")
endif()
if(ENABLE_BLADERF AND LIBBLADERF_FOUND)
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})")
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)
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})")
endif()
2018-05-29 11:00:53 -04:00
if(ENABLE_HACKRF AND LIBHACKRF_FOUND)
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})")
endif()
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})")
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})")
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()
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})")
endif()
2018-05-29 11:00:53 -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})")
endif()
if(ENABLE_IIO AND LIBIIO_FOUND)
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})")
endif()
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})")
endif()
if(ENABLE_SOAPYSDR AND SOAPYSDR_FOUND)
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})")
endif()
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)
add_subdirectory(remotetcpinput)
add_subdirectory(aaroniartsainput)
2023-09-08 05:52:51 -04:00
if(ANDROID)
add_subdirectory(androidsdrdriverinput)
endif()