mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
128 lines
No EOL
3.9 KiB
CMake
128 lines
No EOL
3.9 KiB
CMake
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
|
|
|
|
# We need those to be available for plugins!
|
|
include_directories(../src-core ../src-interface)
|
|
|
|
option(PLUGINS_ALL "Enable all plugins by default" ON)
|
|
|
|
option(PLUGIN_SPACEX "Enable the SpaceX support plugin" OFF)
|
|
if(PLUGIN_SPACEX OR PLUGINS_ALL)
|
|
add_subdirectory(spacex_support)
|
|
endif()
|
|
|
|
option(PLUGIN_FY2 "Enable the FengYun-2 (S-VISSR, etc) support plugin" OFF)
|
|
if(PLUGIN_FY2 OR PLUGINS_ALL)
|
|
add_subdirectory(fengyun2_support)
|
|
endif()
|
|
|
|
option(PLUGIN_FY3 "Enable the FengYun-3 (AHRPT, MPT, DPT, etc) support plugin" OFF)
|
|
if(PLUGIN_FY3 OR PLUGINS_ALL)
|
|
add_subdirectory(fengyun3_support)
|
|
endif()
|
|
|
|
option(PLUGIN_PROBA "Enable the Proba (1, 2, V, etc) support plugin" OFF)
|
|
if(PLUGIN_PROBA OR PLUGINS_ALL)
|
|
add_subdirectory(proba_support)
|
|
endif()
|
|
|
|
option(PLUGIN_EOS "Enable the EOS (Aqua, Terra, Aura) support plugin" OFF)
|
|
if(PLUGIN_EOS OR PLUGINS_ALL)
|
|
add_subdirectory(eos_support)
|
|
endif()
|
|
|
|
option(PLUGIN_METEOR "Enable the Meteor (HRPT, LRPT, etc) support plugin" OFF)
|
|
if(PLUGIN_METEOR OR PLUGINS_ALL)
|
|
add_subdirectory(meteor_support)
|
|
endif()
|
|
|
|
option(PLUGIN_JPSS "Enable the JPSS (SNPP, JPSS-1, etc) support plugin" OFF)
|
|
if(PLUGIN_JPSS OR PLUGINS_ALL)
|
|
add_subdirectory(jpss_support)
|
|
endif()
|
|
|
|
option(PLUGIN_GOES "Enable the GOES (GVAR, HRIT, GRB, etc) support plugin" OFF)
|
|
if(PLUGIN_GOES OR PLUGINS_ALL)
|
|
add_subdirectory(goes_support)
|
|
endif()
|
|
|
|
option(PLUGIN_ELEKTRO_ARKTIKA "Enable the Elektro/Arktika (RDAS, xRIT, etc) support plugin" OFF)
|
|
if(PLUGIN_ELEKTRO_ARKTIKA OR PLUGINS_ALL)
|
|
add_subdirectory(elektro_arktika_support)
|
|
endif()
|
|
|
|
option(PLUGIN_GK2A "Enable the GK2A (xRIT, etc) support plugin" OFF)
|
|
if(PLUGIN_GK2A OR PLUGINS_ALL)
|
|
add_subdirectory(gk2a_support)
|
|
endif()
|
|
|
|
option(PLUGIN_NOAA_METOP "Enable the NOAA/MetOp POES (AHRPT, HRPT, X-Band dumps, GAC, etc) support plugin" OFF)
|
|
if(PLUGIN_NOAA_METOP OR PLUGINS_ALL)
|
|
add_subdirectory(noaa_metop_support)
|
|
endif()
|
|
|
|
option(PLUGIN_JASON3 "Enable the Jason-3 (S-Band dumps) support plugin" OFF)
|
|
if(PLUGIN_JASON3 OR PLUGINS_ALL)
|
|
add_subdirectory(jason3_support)
|
|
endif()
|
|
|
|
option(PLUGIN_OCEANSAT "Enable the Oceansat (X-Band, etc) support plugin" OFF)
|
|
if(PLUGIN_OCEANSAT OR PLUGINS_ALL)
|
|
add_subdirectory(oceansat_support)
|
|
endif()
|
|
|
|
option(PLUGIN_OTHERS "Enable the support plugin for a few other random satellites" OFF)
|
|
if(PLUGIN_OTHERS OR PLUGINS_ALL)
|
|
add_subdirectory(others_support)
|
|
endif()
|
|
|
|
#add_subdirectory(sample)
|
|
|
|
option(PLUGIN_GVAR_EXTENDED "Enable the GVAR Extended plugin" OFF)
|
|
if(PLUGIN_GVAR_EXTENDED)
|
|
add_subdirectory(gvar_extended)
|
|
endif()
|
|
|
|
#######################
|
|
|
|
option(PLUGIN_AIRSPY_SDR_SUPPORT "Enable Airspy SDR Support plugin" ON)
|
|
if(PLUGIN_AIRSPY_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/airspy_sdr_support)
|
|
endif()
|
|
|
|
option(PLUGIN_AIRSPYHF_SDR_SUPPORT "Enable AirspyHF SDR Support plugin" ON)
|
|
if(PLUGIN_AIRSPYHF_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/airspyhf_sdr_support)
|
|
endif()
|
|
|
|
option(PLUGIN_HACKRF_SDR_SUPPORT "Enable HackRF SDR Support plugin" ON)
|
|
if(PLUGIN_HACKRF_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/hackrf_sdr_support)
|
|
endif()
|
|
|
|
option(PLUGIN_LIMESDR_SDR_SUPPORT "Enable LimeSDR SDR Support plugin" ON)
|
|
if(PLUGIN_LIMESDR_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/limesdr_sdr_support)
|
|
endif()
|
|
|
|
option(PLUGIN_SDRPLAY_SDR_SUPPORT "Enable SDRPlay SDR Support plugin" ON)
|
|
if(PLUGIN_SDRPLAY_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/sdrplay_sdr_support)
|
|
endif()
|
|
|
|
option(PLUGIN_RTLSDR_SDR_SUPPORT "Enable RTL-SDR SDR Support plugin" ON)
|
|
if(PLUGIN_RTLSDR_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/rtlsdr_sdr_support)
|
|
endif()
|
|
|
|
option(PLUGIN_SPYSERVER_SUPPORT "Enable SpyServer Support plugin" ON)
|
|
if(PLUGIN_SPYSERVER_SUPPORT)
|
|
add_subdirectory(sdr_sources/spyserver_support)
|
|
endif()
|
|
|
|
# Disable by default, sort of experimental
|
|
option(PLUGIN_SDDC_SDR_SUPPORT "Enable SDDC (RX666, RX888, etc) SDR Support plugin" OFF)
|
|
if(PLUGIN_SDDC_SDR_SUPPORT)
|
|
add_subdirectory(sdr_sources/sddc_sdr_support)
|
|
endif() |