From 202fc96de6a104647ca44a8f674cf449f1724136 Mon Sep 17 00:00:00 2001 From: DreamNik Date: Tue, 3 Sep 2024 18:52:00 +0300 Subject: [PATCH] Append prefix to plugin name when running on Android. Android libraries can't be placed inside subdirectory, so to distinguish plugins from regular libraries the new prefix is used. --- CMakeLists.txt | 8 ++++++++ .../channelmimo/beamsteeringcwmod/CMakeLists.txt | 4 ++-- plugins/channelmimo/doa2/CMakeLists.txt | 4 ++-- plugins/channelmimo/interferometer/CMakeLists.txt | 4 ++-- plugins/channelrx/chanalyzer/CMakeLists.txt | 2 +- plugins/channelrx/channelpower/CMakeLists.txt | 4 ++-- plugins/channelrx/demodadsb/CMakeLists.txt | 4 ++-- plugins/channelrx/demodais/CMakeLists.txt | 4 ++-- plugins/channelrx/demodam/CMakeLists.txt | 4 ++-- plugins/channelrx/demodapt/CMakeLists.txt | 4 ++-- plugins/channelrx/demodatv/CMakeLists.txt | 2 +- plugins/channelrx/demodbfm/CMakeLists.txt | 4 ++-- plugins/channelrx/demodchirpchat/CMakeLists.txt | 4 ++-- plugins/channelrx/demoddab/CMakeLists.txt | 4 ++-- plugins/channelrx/demoddatv/CMakeLists.txt | 2 +- plugins/channelrx/demoddsc/CMakeLists.txt | 4 ++-- plugins/channelrx/demoddsd/CMakeLists.txt | 4 ++-- plugins/channelrx/demodendoftrain/CMakeLists.txt | 4 ++-- plugins/channelrx/demodfreedv/CMakeLists.txt | 4 ++-- plugins/channelrx/demodft8/CMakeLists.txt | 4 ++-- plugins/channelrx/demodils/CMakeLists.txt | 4 ++-- plugins/channelrx/demodm17/CMakeLists.txt | 4 ++-- plugins/channelrx/demodnavtex/CMakeLists.txt | 4 ++-- plugins/channelrx/demodnfm/CMakeLists.txt | 4 ++-- plugins/channelrx/demodpacket/CMakeLists.txt | 4 ++-- plugins/channelrx/demodpager/CMakeLists.txt | 4 ++-- plugins/channelrx/demodradiosonde/CMakeLists.txt | 4 ++-- plugins/channelrx/demodrtty/CMakeLists.txt | 4 ++-- plugins/channelrx/demodssb/CMakeLists.txt | 4 ++-- plugins/channelrx/demodvor/CMakeLists.txt | 4 ++-- plugins/channelrx/demodvormc/CMakeLists.txt | 4 ++-- plugins/channelrx/demodwfm/CMakeLists.txt | 4 ++-- plugins/channelrx/filesink/CMakeLists.txt | 4 ++-- plugins/channelrx/freqscanner/CMakeLists.txt | 4 ++-- plugins/channelrx/freqtracker/CMakeLists.txt | 4 ++-- plugins/channelrx/heatmap/CMakeLists.txt | 4 ++-- plugins/channelrx/localsink/CMakeLists.txt | 4 ++-- plugins/channelrx/noisefigure/CMakeLists.txt | 4 ++-- plugins/channelrx/radioastronomy/CMakeLists.txt | 4 ++-- plugins/channelrx/radioclock/CMakeLists.txt | 4 ++-- plugins/channelrx/remotesink/CMakeLists.txt | 4 ++-- plugins/channelrx/remotetcpsink/CMakeLists.txt | 4 ++-- plugins/channelrx/sigmffilesink/CMakeLists.txt | 4 ++-- plugins/channelrx/udpsink/CMakeLists.txt | 4 ++-- plugins/channelrx/wdsprx/CMakeLists.txt | 4 ++-- plugins/channeltx/filesource/CMakeLists.txt | 4 ++-- plugins/channeltx/localsource/CMakeLists.txt | 4 ++-- plugins/channeltx/mod802.15.4/CMakeLists.txt | 4 ++-- plugins/channeltx/modais/CMakeLists.txt | 4 ++-- plugins/channeltx/modam/CMakeLists.txt | 4 ++-- plugins/channeltx/modatv/CMakeLists.txt | 4 ++-- plugins/channeltx/modchirpchat/CMakeLists.txt | 4 ++-- plugins/channeltx/moddatv/CMakeLists.txt | 4 ++-- plugins/channeltx/modfreedv/CMakeLists.txt | 4 ++-- plugins/channeltx/modm17/CMakeLists.txt | 4 ++-- plugins/channeltx/modnfm/CMakeLists.txt | 4 ++-- plugins/channeltx/modpacket/CMakeLists.txt | 4 ++-- plugins/channeltx/modpsk31/CMakeLists.txt | 4 ++-- plugins/channeltx/modrtty/CMakeLists.txt | 4 ++-- plugins/channeltx/modssb/CMakeLists.txt | 4 ++-- plugins/channeltx/modwfm/CMakeLists.txt | 4 ++-- plugins/channeltx/remotesource/CMakeLists.txt | 4 ++-- plugins/channeltx/udpsource/CMakeLists.txt | 4 ++-- plugins/feature/afc/CMakeLists.txt | 4 ++-- plugins/feature/ais/CMakeLists.txt | 4 ++-- plugins/feature/ambe/CMakeLists.txt | 4 ++-- plugins/feature/antennatools/CMakeLists.txt | 4 ++-- plugins/feature/aprs/CMakeLists.txt | 4 ++-- plugins/feature/demodanalyzer/CMakeLists.txt | 4 ++-- plugins/feature/gs232controller/CMakeLists.txt | 4 ++-- plugins/feature/jogdialcontroller/CMakeLists.txt | 4 ++-- plugins/feature/limerfe/CMakeLists.txt | 4 ++-- plugins/feature/map/CMakeLists.txt | 4 ++-- plugins/feature/morsedecoder/CMakeLists.txt | 4 ++-- plugins/feature/pertester/CMakeLists.txt | 4 ++-- plugins/feature/radiosonde/CMakeLists.txt | 4 ++-- plugins/feature/remotecontrol/CMakeLists.txt | 4 ++-- plugins/feature/rigctlserver/CMakeLists.txt | 4 ++-- plugins/feature/satellitetracker/CMakeLists.txt | 4 ++-- plugins/feature/sid/CMakeLists.txt | 4 ++-- plugins/feature/simpleptt/CMakeLists.txt | 4 ++-- plugins/feature/skymap/CMakeLists.txt | 4 ++-- plugins/feature/startracker/CMakeLists.txt | 4 ++-- plugins/feature/vorlocalizer/CMakeLists.txt | 4 ++-- plugins/samplemimo/audiocatsiso/CMakeLists.txt | 4 ++-- plugins/samplemimo/bladerf2mimo/CMakeLists.txt | 4 ++-- plugins/samplemimo/limesdrmimo/CMakeLists.txt | 4 ++-- plugins/samplemimo/metismiso/CMakeLists.txt | 4 ++-- plugins/samplemimo/plutosdrmimo/CMakeLists.txt | 4 ++-- plugins/samplemimo/testmi/CMakeLists.txt | 4 ++-- plugins/samplemimo/testmosync/CMakeLists.txt | 4 ++-- plugins/samplemimo/xtrxmimo/CMakeLists.txt | 4 ++-- .../samplesink/aaroniartsaoutput/CMakeLists.txt | 4 ++-- plugins/samplesink/audiooutput/CMakeLists.txt | 4 ++-- plugins/samplesink/bladerf1output/CMakeLists.txt | 4 ++-- plugins/samplesink/bladerf2output/CMakeLists.txt | 4 ++-- plugins/samplesink/fileoutput/CMakeLists.txt | 4 ++-- plugins/samplesink/hackrfoutput/CMakeLists.txt | 4 ++-- plugins/samplesink/limesdroutput/CMakeLists.txt | 4 ++-- plugins/samplesink/localoutput/CMakeLists.txt | 4 ++-- plugins/samplesink/plutosdroutput/CMakeLists.txt | 4 ++-- plugins/samplesink/remoteoutput/CMakeLists.txt | 4 ++-- plugins/samplesink/soapysdroutput/CMakeLists.txt | 4 ++-- plugins/samplesink/testsink/CMakeLists.txt | 4 ++-- plugins/samplesink/usrpoutput/CMakeLists.txt | 4 ++-- plugins/samplesink/xtrxoutput/CMakeLists.txt | 4 ++-- .../samplesource/aaroniartsainput/CMakeLists.txt | 4 ++-- plugins/samplesource/airspy/CMakeLists.txt | 4 ++-- plugins/samplesource/airspyhf/CMakeLists.txt | 4 ++-- .../androidsdrdriverinput/CMakeLists.txt | 4 ++-- plugins/samplesource/audioinput/CMakeLists.txt | 4 ++-- plugins/samplesource/bladerf1input/CMakeLists.txt | 4 ++-- plugins/samplesource/bladerf2input/CMakeLists.txt | 4 ++-- plugins/samplesource/fcdpro/CMakeLists.txt | 4 ++-- plugins/samplesource/fcdproplus/CMakeLists.txt | 4 ++-- plugins/samplesource/fileinput/CMakeLists.txt | 4 ++-- plugins/samplesource/hackrfinput/CMakeLists.txt | 4 ++-- plugins/samplesource/kiwisdr/CMakeLists.txt | 4 ++-- plugins/samplesource/limesdrinput/CMakeLists.txt | 4 ++-- plugins/samplesource/localinput/CMakeLists.txt | 4 ++-- plugins/samplesource/perseus/CMakeLists.txt | 4 ++-- plugins/samplesource/plutosdrinput/CMakeLists.txt | 4 ++-- plugins/samplesource/remoteinput/CMakeLists.txt | 4 ++-- .../samplesource/remotetcpinput/CMakeLists.txt | 4 ++-- plugins/samplesource/rtlsdr/CMakeLists.txt | 4 ++-- plugins/samplesource/sdrplay/CMakeLists.txt | 4 ++-- plugins/samplesource/sdrplayv3/CMakeLists.txt | 4 ++-- .../samplesource/sigmffileinput/CMakeLists.txt | 4 ++-- plugins/samplesource/soapysdrinput/CMakeLists.txt | 4 ++-- plugins/samplesource/testsource/CMakeLists.txt | 4 ++-- plugins/samplesource/usrpinput/CMakeLists.txt | 4 ++-- plugins/samplesource/xtrxinput/CMakeLists.txt | 4 ++-- sdrbase/CMakeLists.txt | 4 ++++ sdrbase/plugin/pluginmanager.cpp | 15 ++++++++++----- sdrbase/plugin/pluginmanager.h | 2 +- 135 files changed, 282 insertions(+), 265 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be28d8ae2..c6421b2a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,6 +269,14 @@ else() endif() set(INSTALL_PLUGINS_DIR "${INSTALL_LIB_DIR}/plugins") set(INSTALL_PLUGINSSRV_DIR "${INSTALL_LIB_DIR}/pluginssrv") + +if(ANDROID) + set(PLUGINS_PREFIX "sdrangel_plugins_") + set(PLUGINSSRV_PREFIX "sdrangel_pluginssrv_") +else() + set(PLUGINS_PREFIX "") + set(PLUGINSSRV_PREFIX "") +endif() set(EXTERNAL_BUILD_LIBRARIES "${CMAKE_BINARY_DIR}/external") # custom libraries diff --git a/plugins/channelmimo/beamsteeringcwmod/CMakeLists.txt b/plugins/channelmimo/beamsteeringcwmod/CMakeLists.txt index baa8ba5c6..bcc1a98d1 100644 --- a/plugins/channelmimo/beamsteeringcwmod/CMakeLists.txt +++ b/plugins/channelmimo/beamsteeringcwmod/CMakeLists.txt @@ -34,12 +34,12 @@ if (NOT SERVER_MODE) beamsteeringcwmodgui.h ) - set(TARGET_NAME beamsteeringcwmod) + set(TARGET_NAME ${PLUGINS_PREFIX}beamsteeringcwmod) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME beamsteeringcwmodsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}beamsteeringcwmodsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelmimo/doa2/CMakeLists.txt b/plugins/channelmimo/doa2/CMakeLists.txt index b7a0939c8..02e3be16d 100644 --- a/plugins/channelmimo/doa2/CMakeLists.txt +++ b/plugins/channelmimo/doa2/CMakeLists.txt @@ -38,12 +38,12 @@ if (NOT SERVER_MODE) doa2compass.cpp ) - set(TARGET_NAME doa2) + set(TARGET_NAME ${PLUGINS_PREFIX}doa2) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME doa2srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}doa2srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelmimo/interferometer/CMakeLists.txt b/plugins/channelmimo/interferometer/CMakeLists.txt index e0f2f7e42..7be7fe5f2 100644 --- a/plugins/channelmimo/interferometer/CMakeLists.txt +++ b/plugins/channelmimo/interferometer/CMakeLists.txt @@ -36,12 +36,12 @@ if (NOT SERVER_MODE) interferometergui.h ) - set(TARGET_NAME interferometer) + set(TARGET_NAME ${PLUGINS_PREFIX}interferometer) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME interferometersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}interferometersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/chanalyzer/CMakeLists.txt b/plugins/channelrx/chanalyzer/CMakeLists.txt index 62352c1ec..b378e9891 100644 --- a/plugins/channelrx/chanalyzer/CMakeLists.txt +++ b/plugins/channelrx/chanalyzer/CMakeLists.txt @@ -26,7 +26,7 @@ include_directories( ${Boost_INCLUDE_DIRS} ) -set(TARGET_NAME chanalyzer) +set(TARGET_NAME ${PLUGINS_PREFIX}chanalyzer) set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) add_library(${TARGET_NAME} SHARED diff --git a/plugins/channelrx/channelpower/CMakeLists.txt b/plugins/channelrx/channelpower/CMakeLists.txt index d0e3297f4..a878a598f 100644 --- a/plugins/channelrx/channelpower/CMakeLists.txt +++ b/plugins/channelrx/channelpower/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) channelpowergui.h ) - set(TARGET_NAME channelpower) + set(TARGET_NAME ${PLUGINS_PREFIX}channelpower) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME channelpowersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}channelpowersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodadsb/CMakeLists.txt b/plugins/channelrx/demodadsb/CMakeLists.txt index 331630c1d..4c999515f 100644 --- a/plugins/channelrx/demodadsb/CMakeLists.txt +++ b/plugins/channelrx/demodadsb/CMakeLists.txt @@ -59,12 +59,12 @@ if(NOT SERVER_MODE) osndb.h ) - set(TARGET_NAME demodadsb) + set(TARGET_NAME ${PLUGINS_PREFIX}demodadsb) set(TARGET_LIB Qt::Widgets Qt::Quick Qt::QuickWidgets Qt::Positioning Qt::Location Qt::TextToSpeech) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodadsbsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodadsbsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodais/CMakeLists.txt b/plugins/channelrx/demodais/CMakeLists.txt index 215165724..00a93b9c6 100644 --- a/plugins/channelrx/demodais/CMakeLists.txt +++ b/plugins/channelrx/demodais/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) aisdemodgui.h ) - set(TARGET_NAME demodais) + set(TARGET_NAME ${PLUGINS_PREFIX}demodais) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodaissrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodaissrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodam/CMakeLists.txt b/plugins/channelrx/demodam/CMakeLists.txt index c185ce8d9..669891000 100644 --- a/plugins/channelrx/demodam/CMakeLists.txt +++ b/plugins/channelrx/demodam/CMakeLists.txt @@ -37,12 +37,12 @@ if(NOT SERVER_MODE) amdemodssbdialog.h ) - set(TARGET_NAME demodam) + set(TARGET_NAME ${PLUGINS_PREFIX}demodam) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodamsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodamsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodapt/CMakeLists.txt b/plugins/channelrx/demodapt/CMakeLists.txt index 29aa74166..16a76e061 100644 --- a/plugins/channelrx/demodapt/CMakeLists.txt +++ b/plugins/channelrx/demodapt/CMakeLists.txt @@ -44,12 +44,12 @@ if(NOT SERVER_MODE) aptdemodselectdialog.h ) - set(TARGET_NAME demodapt) + set(TARGET_NAME ${PLUGINS_PREFIX}demodapt) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodaptsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodaptsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodatv/CMakeLists.txt b/plugins/channelrx/demodatv/CMakeLists.txt index 322a55fd6..c7ef3c5d7 100644 --- a/plugins/channelrx/demodatv/CMakeLists.txt +++ b/plugins/channelrx/demodatv/CMakeLists.txt @@ -26,7 +26,7 @@ include_directories( ${Boost_INCLUDE_DIRS} ) -set(TARGET_NAME demodatv) +set(TARGET_NAME ${PLUGINS_PREFIX}demodatv) set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) add_library(${TARGET_NAME} SHARED diff --git a/plugins/channelrx/demodbfm/CMakeLists.txt b/plugins/channelrx/demodbfm/CMakeLists.txt index 46af33186..b22b1fc73 100644 --- a/plugins/channelrx/demodbfm/CMakeLists.txt +++ b/plugins/channelrx/demodbfm/CMakeLists.txt @@ -44,12 +44,12 @@ if(NOT SERVER_MODE) bfmdemodgui.h ) - set(TARGET_NAME demodbfm) + set(TARGET_NAME ${PLUGINS_PREFIX}demodbfm) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodbfmsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodbfmsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodchirpchat/CMakeLists.txt b/plugins/channelrx/demodchirpchat/CMakeLists.txt index aafc386d1..8898a5bd1 100644 --- a/plugins/channelrx/demodchirpchat/CMakeLists.txt +++ b/plugins/channelrx/demodchirpchat/CMakeLists.txt @@ -48,12 +48,12 @@ if(NOT SERVER_MODE) ${chirpchat_HEADERS} chirpchatdemodgui.h ) - set(TARGET_NAME demodchirpchat) + set(TARGET_NAME ${PLUGINS_PREFIX}demodchirpchat) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodchirpchatsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodchirpchatsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demoddab/CMakeLists.txt b/plugins/channelrx/demoddab/CMakeLists.txt index 38311707a..c796a69fe 100644 --- a/plugins/channelrx/demoddab/CMakeLists.txt +++ b/plugins/channelrx/demoddab/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) dabdemodgui.h ) - set(TARGET_NAME demoddab) + set(TARGET_NAME ${PLUGINS_PREFIX}demoddab) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demoddabsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demoddabsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demoddatv/CMakeLists.txt b/plugins/channelrx/demoddatv/CMakeLists.txt index b8f7fea5b..0e4fd8b6a 100644 --- a/plugins/channelrx/demoddatv/CMakeLists.txt +++ b/plugins/channelrx/demoddatv/CMakeLists.txt @@ -68,7 +68,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client ) -set(TARGET_NAME demoddatv) +set(TARGET_NAME ${PLUGINS_PREFIX}demoddatv) set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) add_library(${TARGET_NAME} SHARED diff --git a/plugins/channelrx/demoddsc/CMakeLists.txt b/plugins/channelrx/demoddsc/CMakeLists.txt index ed2164296..87b3c13d3 100644 --- a/plugins/channelrx/demoddsc/CMakeLists.txt +++ b/plugins/channelrx/demoddsc/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) dscdemodgui.h ) - set(TARGET_NAME demoddsc) + set(TARGET_NAME ${PLUGINS_PREFIX}demoddsc) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demoddscsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demoddscsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demoddsd/CMakeLists.txt b/plugins/channelrx/demoddsd/CMakeLists.txt index e4205aaec..08b427166 100644 --- a/plugins/channelrx/demoddsd/CMakeLists.txt +++ b/plugins/channelrx/demoddsd/CMakeLists.txt @@ -42,12 +42,12 @@ if(NOT SERVER_MODE) dsdstatustextdialog.h ) - set(TARGET_NAME demoddsd) + set(TARGET_NAME ${PLUGINS_PREFIX}demoddsd) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demoddsdsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demoddsdsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodendoftrain/CMakeLists.txt b/plugins/channelrx/demodendoftrain/CMakeLists.txt index f3d901783..68703626c 100644 --- a/plugins/channelrx/demodendoftrain/CMakeLists.txt +++ b/plugins/channelrx/demodendoftrain/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) endoftraindemodgui.h ) - set(TARGET_NAME demodendoftrain) + set(TARGET_NAME ${PLUGINS_PREFIX}demodendoftrain) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodendoftrainsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodendoftrainsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodfreedv/CMakeLists.txt b/plugins/channelrx/demodfreedv/CMakeLists.txt index 79a70448a..38c3b98bc 100644 --- a/plugins/channelrx/demodfreedv/CMakeLists.txt +++ b/plugins/channelrx/demodfreedv/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) ${freedv_HEADERS} freedvdemodgui.h ) - set(TARGET_NAME demodfreedv) + set(TARGET_NAME ${PLUGINS_PREFIX}demodfreedv) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodfreedvsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodfreedvsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodft8/CMakeLists.txt b/plugins/channelrx/demodft8/CMakeLists.txt index 2774169fa..98e2c205c 100644 --- a/plugins/channelrx/demodft8/CMakeLists.txt +++ b/plugins/channelrx/demodft8/CMakeLists.txt @@ -43,12 +43,12 @@ if(NOT SERVER_MODE) ft8demodfilterproxy.h ft8demodsettingsdialog.h ) - set(TARGET_NAME demodft8) + set(TARGET_NAME ${PLUGINS_PREFIX}demodft8) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodft8srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodft8srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodils/CMakeLists.txt b/plugins/channelrx/demodils/CMakeLists.txt index 77b6260aa..43634a187 100644 --- a/plugins/channelrx/demodils/CMakeLists.txt +++ b/plugins/channelrx/demodils/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) ilsdemodgui.h ) - set(TARGET_NAME demodils) + set(TARGET_NAME ${PLUGINS_PREFIX}demodils) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodilssrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodilssrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodm17/CMakeLists.txt b/plugins/channelrx/demodm17/CMakeLists.txt index 27918126f..fdb71b6d4 100644 --- a/plugins/channelrx/demodm17/CMakeLists.txt +++ b/plugins/channelrx/demodm17/CMakeLists.txt @@ -43,12 +43,12 @@ if(NOT SERVER_MODE) m17demodgui.h m17statustextdialog.h ) - set(TARGET_NAME demodm17) + set(TARGET_NAME ${PLUGINS_PREFIX}demodm17) set(TARGET_LIB "Qt::Widgets" Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodm17srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodm17srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodnavtex/CMakeLists.txt b/plugins/channelrx/demodnavtex/CMakeLists.txt index fbb93f63b..d902c0c54 100644 --- a/plugins/channelrx/demodnavtex/CMakeLists.txt +++ b/plugins/channelrx/demodnavtex/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) navtexdemodgui.h ) - set(TARGET_NAME demodnavtex) + set(TARGET_NAME ${PLUGINS_PREFIX}demodnavtex) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodnavtexsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodnavtexsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodnfm/CMakeLists.txt b/plugins/channelrx/demodnfm/CMakeLists.txt index 117f7ae61..a017dfb47 100644 --- a/plugins/channelrx/demodnfm/CMakeLists.txt +++ b/plugins/channelrx/demodnfm/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) nfmdemodgui.h ) - set(TARGET_NAME demodnfm) + set(TARGET_NAME ${PLUGINS_PREFIX}demodnfm) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodnfmsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodnfmsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodpacket/CMakeLists.txt b/plugins/channelrx/demodpacket/CMakeLists.txt index 1b18efcd1..656f774fe 100644 --- a/plugins/channelrx/demodpacket/CMakeLists.txt +++ b/plugins/channelrx/demodpacket/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) packetdemodgui.h ) - set(TARGET_NAME demodpacket) + set(TARGET_NAME ${PLUGINS_PREFIX}demodpacket) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodpacketsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodpacketsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodpager/CMakeLists.txt b/plugins/channelrx/demodpager/CMakeLists.txt index beb2eefdf..88d4e36a7 100644 --- a/plugins/channelrx/demodpager/CMakeLists.txt +++ b/plugins/channelrx/demodpager/CMakeLists.txt @@ -36,12 +36,12 @@ if(NOT SERVER_MODE) pagerdemodcharsetdialog.h ) - set(TARGET_NAME demodpager) + set(TARGET_NAME ${PLUGINS_PREFIX}demodpager) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodpagersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodpagersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodradiosonde/CMakeLists.txt b/plugins/channelrx/demodradiosonde/CMakeLists.txt index 74b63171a..932926f58 100644 --- a/plugins/channelrx/demodradiosonde/CMakeLists.txt +++ b/plugins/channelrx/demodradiosonde/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) radiosondedemodgui.h ) - set(TARGET_NAME demodradiosonde) + set(TARGET_NAME ${PLUGINS_PREFIX}demodradiosonde) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodradiosondesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodradiosondesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodrtty/CMakeLists.txt b/plugins/channelrx/demodrtty/CMakeLists.txt index 87d5c3a7f..fbdb2f70d 100644 --- a/plugins/channelrx/demodrtty/CMakeLists.txt +++ b/plugins/channelrx/demodrtty/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) rttydemodgui.h ) - set(TARGET_NAME demodrtty) + set(TARGET_NAME ${PLUGINS_PREFIX}demodrtty) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodrttysrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodrttysrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodssb/CMakeLists.txt b/plugins/channelrx/demodssb/CMakeLists.txt index f617295af..c44586ad2 100644 --- a/plugins/channelrx/demodssb/CMakeLists.txt +++ b/plugins/channelrx/demodssb/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) ${ssb_HEADERS} ssbdemodgui.h ) - set(TARGET_NAME demodssb) + set(TARGET_NAME ${PLUGINS_PREFIX}demodssb) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodssbsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodssbsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodvor/CMakeLists.txt b/plugins/channelrx/demodvor/CMakeLists.txt index da0bd5eb0..048f263d1 100644 --- a/plugins/channelrx/demodvor/CMakeLists.txt +++ b/plugins/channelrx/demodvor/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) vordemodgui.h ) - set(TARGET_NAME demodvor) + set(TARGET_NAME ${PLUGINS_PREFIX}demodvor) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodvorsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodvorsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodvormc/CMakeLists.txt b/plugins/channelrx/demodvormc/CMakeLists.txt index 47916407e..9ff536cc2 100644 --- a/plugins/channelrx/demodvormc/CMakeLists.txt +++ b/plugins/channelrx/demodvormc/CMakeLists.txt @@ -40,12 +40,12 @@ if(NOT SERVER_MODE) ../demodadsb/csv.h ) - set(TARGET_NAME demodvormc) + set(TARGET_NAME ${PLUGINS_PREFIX}demodvormc) set(TARGET_LIB "Qt::Widgets" Qt::Quick Qt::QuickWidgets Qt::Positioning) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodvormcsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodvormcsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/demodwfm/CMakeLists.txt b/plugins/channelrx/demodwfm/CMakeLists.txt index d3e227c07..6a5f77e29 100644 --- a/plugins/channelrx/demodwfm/CMakeLists.txt +++ b/plugins/channelrx/demodwfm/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) wfmdemodgui.h ) - set(TARGET_NAME demodwfm) + set(TARGET_NAME ${PLUGINS_PREFIX}demodwfm) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME demodwfmsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}demodwfmsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/filesink/CMakeLists.txt b/plugins/channelrx/filesink/CMakeLists.txt index c9b375c44..357f62fe6 100644 --- a/plugins/channelrx/filesink/CMakeLists.txt +++ b/plugins/channelrx/filesink/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) ${filesink_HEADERS} filesinkgui.h ) - set(TARGET_NAME filesink) + set(TARGET_NAME ${PLUGINS_PREFIX}filesink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME filesinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}filesinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/freqscanner/CMakeLists.txt b/plugins/channelrx/freqscanner/CMakeLists.txt index b02ad52b0..039df0805 100644 --- a/plugins/channelrx/freqscanner/CMakeLists.txt +++ b/plugins/channelrx/freqscanner/CMakeLists.txt @@ -36,12 +36,12 @@ if(NOT SERVER_MODE) freqscanneraddrangedialog.h ) - set(TARGET_NAME freqscanner) + set(TARGET_NAME ${PLUGINS_PREFIX}freqscanner) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME freqscannersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}freqscannersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/freqtracker/CMakeLists.txt b/plugins/channelrx/freqtracker/CMakeLists.txt index a6eea37b0..87701a175 100644 --- a/plugins/channelrx/freqtracker/CMakeLists.txt +++ b/plugins/channelrx/freqtracker/CMakeLists.txt @@ -36,12 +36,12 @@ if(NOT SERVER_MODE) freqtrackergui.h ) - set(TARGET_NAME freqtracker) + set(TARGET_NAME ${PLUGINS_PREFIX}freqtracker) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME freqtrackersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}freqtrackersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/heatmap/CMakeLists.txt b/plugins/channelrx/heatmap/CMakeLists.txt index 0d86be5bb..4dd550660 100644 --- a/plugins/channelrx/heatmap/CMakeLists.txt +++ b/plugins/channelrx/heatmap/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) heatmapgui.h ) - set(TARGET_NAME heatmap) + set(TARGET_NAME ${PLUGINS_PREFIX}heatmap) set(TARGET_LIB "Qt::Widgets" Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME heatmapsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}heatmapsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/localsink/CMakeLists.txt b/plugins/channelrx/localsink/CMakeLists.txt index a5bfdd8bb..e053e0a15 100644 --- a/plugins/channelrx/localsink/CMakeLists.txt +++ b/plugins/channelrx/localsink/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) ${localsink_HEADERS} localsinkgui.h ) - set(TARGET_NAME localsink) + set(TARGET_NAME ${PLUGINS_PREFIX}localsink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME localsinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}localsinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/noisefigure/CMakeLists.txt b/plugins/channelrx/noisefigure/CMakeLists.txt index 4c6fbcb0c..2b300d2f6 100644 --- a/plugins/channelrx/noisefigure/CMakeLists.txt +++ b/plugins/channelrx/noisefigure/CMakeLists.txt @@ -40,12 +40,12 @@ if(NOT SERVER_MODE) noisefigureenrdialog.h ) - set(TARGET_NAME noisefigure) + set(TARGET_NAME ${PLUGINS_PREFIX}noisefigure) set(TARGET_LIB "Qt::Widgets" Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME noisefiguresrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}noisefiguresrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/radioastronomy/CMakeLists.txt b/plugins/channelrx/radioastronomy/CMakeLists.txt index 5ac580a00..f378b6706 100644 --- a/plugins/channelrx/radioastronomy/CMakeLists.txt +++ b/plugins/channelrx/radioastronomy/CMakeLists.txt @@ -42,12 +42,12 @@ if(NOT SERVER_MODE) radioastronomysensordialog.h ) - set(TARGET_NAME radioastronomy) + set(TARGET_NAME ${PLUGINS_PREFIX}radioastronomy) set(TARGET_LIB "Qt::Widgets" Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME radioastronomysrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}radioastronomysrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/radioclock/CMakeLists.txt b/plugins/channelrx/radioclock/CMakeLists.txt index 384151cdd..1035dc94e 100644 --- a/plugins/channelrx/radioclock/CMakeLists.txt +++ b/plugins/channelrx/radioclock/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) radioclockgui.h ) - set(TARGET_NAME radioclock) + set(TARGET_NAME ${PLUGINS_PREFIX}radioclock) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME radioclocksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}radioclocksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/remotesink/CMakeLists.txt b/plugins/channelrx/remotesink/CMakeLists.txt index 33a2f974f..343209dd1 100644 --- a/plugins/channelrx/remotesink/CMakeLists.txt +++ b/plugins/channelrx/remotesink/CMakeLists.txt @@ -39,12 +39,12 @@ if(NOT SERVER_MODE) ${remotesink_HEADERS} remotesinkgui.h ) - set(TARGET_NAME remotesink) + set(TARGET_NAME ${PLUGINS_PREFIX}remotesink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME remotesinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}remotesinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/remotetcpsink/CMakeLists.txt b/plugins/channelrx/remotetcpsink/CMakeLists.txt index 12fedbdab..2b42dc98e 100644 --- a/plugins/channelrx/remotetcpsink/CMakeLists.txt +++ b/plugins/channelrx/remotetcpsink/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) ${remotetcpsink_HEADERS} remotetcpsinkgui.h ) - set(TARGET_NAME remotetcpsink) + set(TARGET_NAME ${PLUGINS_PREFIX}remotetcpsink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME remotetcpsinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}remotetcpsinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/sigmffilesink/CMakeLists.txt b/plugins/channelrx/sigmffilesink/CMakeLists.txt index fb41a3ffb..7fc00de65 100644 --- a/plugins/channelrx/sigmffilesink/CMakeLists.txt +++ b/plugins/channelrx/sigmffilesink/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) ${sigmffilesink_HEADERS} sigmffilesinkgui.h ) - set(TARGET_NAME sigmffilesink) + set(TARGET_NAME ${PLUGINS_PREFIX}sigmffilesink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME sigmffilesinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}sigmffilesinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/udpsink/CMakeLists.txt b/plugins/channelrx/udpsink/CMakeLists.txt index d6bb2c174..45b4ecfe0 100644 --- a/plugins/channelrx/udpsink/CMakeLists.txt +++ b/plugins/channelrx/udpsink/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) udpsinkgui.h ) - set(TARGET_NAME udpsink) + set(TARGET_NAME ${PLUGINS_PREFIX}udpsink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME udpsinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}udpsinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channelrx/wdsprx/CMakeLists.txt b/plugins/channelrx/wdsprx/CMakeLists.txt index 9af100082..f31c34f27 100644 --- a/plugins/channelrx/wdsprx/CMakeLists.txt +++ b/plugins/channelrx/wdsprx/CMakeLists.txt @@ -61,12 +61,12 @@ if(NOT SERVER_MODE) wdsprxpandialog.h wdsprxsquelchdialog.h ) - set(TARGET_NAME wdsprx) + set(TARGET_NAME ${PLUGINS_PREFIX}wdsprx) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME wdsprxsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}wdsprxsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/filesource/CMakeLists.txt b/plugins/channeltx/filesource/CMakeLists.txt index 20d497ba8..576acf71c 100644 --- a/plugins/channeltx/filesource/CMakeLists.txt +++ b/plugins/channeltx/filesource/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) ${filesource_HEADERS} filesourcegui.h ) - set(TARGET_NAME filesource) + set(TARGET_NAME ${PLUGINS_PREFIX}filesource) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME filesourcesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}filesourcesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/localsource/CMakeLists.txt b/plugins/channeltx/localsource/CMakeLists.txt index f75b559ab..689abba5f 100644 --- a/plugins/channeltx/localsource/CMakeLists.txt +++ b/plugins/channeltx/localsource/CMakeLists.txt @@ -37,12 +37,12 @@ if(NOT SERVER_MODE) localsourcegui.h ) - set(TARGET_NAME localsource) + set(TARGET_NAME ${PLUGINS_PREFIX}localsource) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME localsourcesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}localsourcesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/mod802.15.4/CMakeLists.txt b/plugins/channeltx/mod802.15.4/CMakeLists.txt index 574cd4b96..043758db6 100644 --- a/plugins/channeltx/mod802.15.4/CMakeLists.txt +++ b/plugins/channeltx/mod802.15.4/CMakeLists.txt @@ -40,12 +40,12 @@ if(NOT SERVER_MODE) ieee_802_15_4_modrepeatdialog.h ieee_802_15_4_modtxsettingsdialog.h ) - set(TARGET_NAME modieee_802_15_4) + set(TARGET_NAME ${PLUGINS_PREFIX}modieee_802_15_4) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modieee_802_15_4srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modieee_802_15_4srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modais/CMakeLists.txt b/plugins/channeltx/modais/CMakeLists.txt index b5f71ee84..0f8238cc4 100644 --- a/plugins/channeltx/modais/CMakeLists.txt +++ b/plugins/channeltx/modais/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) aismodrepeatdialog.h aismodtxsettingsdialog.h ) - set(TARGET_NAME modais) + set(TARGET_NAME ${PLUGINS_PREFIX}modais) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modaissrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modaissrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modam/CMakeLists.txt b/plugins/channeltx/modam/CMakeLists.txt index cd7cb0e05..f2d4eb245 100644 --- a/plugins/channeltx/modam/CMakeLists.txt +++ b/plugins/channeltx/modam/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) ammodgui.h ) - set(TARGET_NAME modam) + set(TARGET_NAME ${PLUGINS_PREFIX}modam) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modamsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modamsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modatv/CMakeLists.txt b/plugins/channeltx/modatv/CMakeLists.txt index 08bbb727c..882298c95 100644 --- a/plugins/channeltx/modatv/CMakeLists.txt +++ b/plugins/channeltx/modatv/CMakeLists.txt @@ -37,12 +37,12 @@ if(NOT SERVER_MODE) atvmodgui.h ) - set(TARGET_NAME modatv) + set(TARGET_NAME ${PLUGINS_PREFIX}modatv) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modatvsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modatvsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modchirpchat/CMakeLists.txt b/plugins/channeltx/modchirpchat/CMakeLists.txt index ee264b45b..14a10df0f 100644 --- a/plugins/channeltx/modchirpchat/CMakeLists.txt +++ b/plugins/channeltx/modchirpchat/CMakeLists.txt @@ -49,12 +49,12 @@ if(NOT SERVER_MODE) chirpchatmodgui.h ) - set(TARGET_NAME modchirpchat) + set(TARGET_NAME ${PLUGINS_PREFIX}modchirpchat) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modchirpchatsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modchirpchatsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/moddatv/CMakeLists.txt b/plugins/channeltx/moddatv/CMakeLists.txt index cdb955341..b821d8cd4 100644 --- a/plugins/channeltx/moddatv/CMakeLists.txt +++ b/plugins/channeltx/moddatv/CMakeLists.txt @@ -58,12 +58,12 @@ if(NOT SERVER_MODE) datvmodgui.h ) - set(TARGET_NAME moddatv) + set(TARGET_NAME ${PLUGINS_PREFIX}moddatv) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME moddatvsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}moddatvsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modfreedv/CMakeLists.txt b/plugins/channeltx/modfreedv/CMakeLists.txt index d231d0505..61235b66d 100644 --- a/plugins/channeltx/modfreedv/CMakeLists.txt +++ b/plugins/channeltx/modfreedv/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) ${modfreedv_HEADERS} freedvmodgui.h ) - set(TARGET_NAME modfreedv) + set(TARGET_NAME ${PLUGINS_PREFIX}modfreedv) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modfreedvsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modfreedvsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modm17/CMakeLists.txt b/plugins/channeltx/modm17/CMakeLists.txt index 090d13c77..5b19ca2b1 100644 --- a/plugins/channeltx/modm17/CMakeLists.txt +++ b/plugins/channeltx/modm17/CMakeLists.txt @@ -43,12 +43,12 @@ if(NOT SERVER_MODE) m17modgui.h ) - set(TARGET_NAME modm17) + set(TARGET_NAME ${PLUGINS_PREFIX}modm17) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modm17srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modm17srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modnfm/CMakeLists.txt b/plugins/channeltx/modnfm/CMakeLists.txt index 5bd9d0f1b..94e984575 100644 --- a/plugins/channeltx/modnfm/CMakeLists.txt +++ b/plugins/channeltx/modnfm/CMakeLists.txt @@ -36,12 +36,12 @@ if(NOT SERVER_MODE) nfmmodgui.h ) - set(TARGET_NAME modnfm) + set(TARGET_NAME ${PLUGINS_PREFIX}modnfm) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modnfmsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modnfmsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modpacket/CMakeLists.txt b/plugins/channeltx/modpacket/CMakeLists.txt index 8acf95911..d771fcfcb 100644 --- a/plugins/channeltx/modpacket/CMakeLists.txt +++ b/plugins/channeltx/modpacket/CMakeLists.txt @@ -41,12 +41,12 @@ if(NOT SERVER_MODE) packetmodrepeatdialog.h packetmodtxsettingsdialog.h ) - set(TARGET_NAME modpacket) + set(TARGET_NAME ${PLUGINS_PREFIX}modpacket) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modpacketsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modpacketsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modpsk31/CMakeLists.txt b/plugins/channeltx/modpsk31/CMakeLists.txt index eb5256800..207fe63b8 100644 --- a/plugins/channeltx/modpsk31/CMakeLists.txt +++ b/plugins/channeltx/modpsk31/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) psk31modrepeatdialog.h psk31modtxsettingsdialog.h ) - set(TARGET_NAME modpsk31) + set(TARGET_NAME ${PLUGINS_PREFIX}modpsk31) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modpsk31srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modpsk31srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modrtty/CMakeLists.txt b/plugins/channeltx/modrtty/CMakeLists.txt index 32ee10bd1..f4d6dc4d5 100644 --- a/plugins/channeltx/modrtty/CMakeLists.txt +++ b/plugins/channeltx/modrtty/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) rttymodrepeatdialog.h rttymodtxsettingsdialog.h ) - set(TARGET_NAME modrtty) + set(TARGET_NAME ${PLUGINS_PREFIX}modrtty) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modrttysrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modrttysrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modssb/CMakeLists.txt b/plugins/channeltx/modssb/CMakeLists.txt index 5156b2e36..491c88f78 100644 --- a/plugins/channeltx/modssb/CMakeLists.txt +++ b/plugins/channeltx/modssb/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) ssbmodgui.h ) - set(TARGET_NAME modssb) + set(TARGET_NAME ${PLUGINS_PREFIX}modssb) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modssbsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modssbsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/modwfm/CMakeLists.txt b/plugins/channeltx/modwfm/CMakeLists.txt index d2cc22fc0..4f310f8a8 100644 --- a/plugins/channeltx/modwfm/CMakeLists.txt +++ b/plugins/channeltx/modwfm/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) wfmmodgui.h ) - set(TARGET_NAME modwfm) + set(TARGET_NAME ${PLUGINS_PREFIX}modwfm) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME modwfmsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}modwfmsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/remotesource/CMakeLists.txt b/plugins/channeltx/remotesource/CMakeLists.txt index 1a5ac0b76..19f455c93 100644 --- a/plugins/channeltx/remotesource/CMakeLists.txt +++ b/plugins/channeltx/remotesource/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) remotesourcegui.h ) - set(TARGET_NAME remotesource) + set(TARGET_NAME ${PLUGINS_PREFIX}remotesource) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME remotesourcesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}remotesourcesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/channeltx/udpsource/CMakeLists.txt b/plugins/channeltx/udpsource/CMakeLists.txt index deb682aed..4c5dd6fc9 100644 --- a/plugins/channeltx/udpsource/CMakeLists.txt +++ b/plugins/channeltx/udpsource/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) udpsourcegui.h ) - set(TARGET_NAME udpsource) + set(TARGET_NAME ${PLUGINS_PREFIX}udpsource) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME udpsourcesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}udpsourcesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/afc/CMakeLists.txt b/plugins/feature/afc/CMakeLists.txt index fd64256c2..2939b9c1b 100644 --- a/plugins/feature/afc/CMakeLists.txt +++ b/plugins/feature/afc/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) afcgui.h ) - set(TARGET_NAME featureafc) + set(TARGET_NAME ${PLUGINS_PREFIX}featureafc) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featureafcsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featureafcsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/ais/CMakeLists.txt b/plugins/feature/ais/CMakeLists.txt index afdec0c05..792796ed5 100644 --- a/plugins/feature/ais/CMakeLists.txt +++ b/plugins/feature/ais/CMakeLists.txt @@ -30,12 +30,12 @@ if(NOT SERVER_MODE) aisgui.h ) - set(TARGET_NAME featureais) + set(TARGET_NAME ${PLUGINS_PREFIX}featureais) set(TARGET_LIB Qt::Widgets) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featureaissrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featureaissrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/ambe/CMakeLists.txt b/plugins/feature/ambe/CMakeLists.txt index 82704fb2c..54e6caa4a 100644 --- a/plugins/feature/ambe/CMakeLists.txt +++ b/plugins/feature/ambe/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) ambegui.h ) - set(TARGET_NAME featureambe) + set(TARGET_NAME ${PLUGINS_PREFIX}featureambe) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featureambesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featureambesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/antennatools/CMakeLists.txt b/plugins/feature/antennatools/CMakeLists.txt index bcbdccd6e..69cc6dd9d 100644 --- a/plugins/feature/antennatools/CMakeLists.txt +++ b/plugins/feature/antennatools/CMakeLists.txt @@ -30,12 +30,12 @@ if(NOT SERVER_MODE) antennatoolsgui.h ) - set(TARGET_NAME antennatools) + set(TARGET_NAME ${PLUGINS_PREFIX}antennatools) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME antennatoolssrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}antennatoolssrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/aprs/CMakeLists.txt b/plugins/feature/aprs/CMakeLists.txt index 0f67590dd..bccae7d67 100644 --- a/plugins/feature/aprs/CMakeLists.txt +++ b/plugins/feature/aprs/CMakeLists.txt @@ -36,12 +36,12 @@ if(NOT SERVER_MODE) aprssettingsdialog.h ) - set(TARGET_NAME aprs) + set(TARGET_NAME ${PLUGINS_PREFIX}aprs) set(TARGET_LIB "Qt::Widgets" Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME aprssrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}aprssrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/demodanalyzer/CMakeLists.txt b/plugins/feature/demodanalyzer/CMakeLists.txt index c6998f852..cadffe37d 100644 --- a/plugins/feature/demodanalyzer/CMakeLists.txt +++ b/plugins/feature/demodanalyzer/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) demodanalyzergui.h ) - set(TARGET_NAME featuredemodanalyzer) + set(TARGET_NAME ${PLUGINS_PREFIX}featuredemodanalyzer) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featuredemodanalyzersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featuredemodanalyzersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/gs232controller/CMakeLists.txt b/plugins/feature/gs232controller/CMakeLists.txt index c35195adb..9ae9e7c22 100644 --- a/plugins/feature/gs232controller/CMakeLists.txt +++ b/plugins/feature/gs232controller/CMakeLists.txt @@ -48,7 +48,7 @@ if(NOT SERVER_MODE) inputcontrollersettings.h ) - set(TARGET_NAME featuregs232controller) + set(TARGET_NAME ${PLUGINS_PREFIX}featuregs232controller) set(TARGET_LIB Qt::Widgets) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) @@ -68,7 +68,7 @@ if(NOT SERVER_MODE) endif() else() - set(TARGET_NAME featuregs232controllersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featuregs232controllersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/jogdialcontroller/CMakeLists.txt b/plugins/feature/jogdialcontroller/CMakeLists.txt index 685849487..9b51b06f8 100644 --- a/plugins/feature/jogdialcontroller/CMakeLists.txt +++ b/plugins/feature/jogdialcontroller/CMakeLists.txt @@ -29,12 +29,12 @@ if(NOT SERVER_MODE) jogdialcontrollergui.h ) - set(TARGET_NAME jogdialcontroller) + set(TARGET_NAME ${PLUGINS_PREFIX}jogdialcontroller) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME jogdialcontrollersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}jogdialcontrollersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/limerfe/CMakeLists.txt b/plugins/feature/limerfe/CMakeLists.txt index 4cfc776a6..5bdfdeaf4 100644 --- a/plugins/feature/limerfe/CMakeLists.txt +++ b/plugins/feature/limerfe/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) limerfegui.h ) - set(TARGET_NAME featurelimerfe) + set(TARGET_NAME ${PLUGINS_PREFIX}featurelimerfe) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featurelimerfesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featurelimerfesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/map/CMakeLists.txt b/plugins/feature/map/CMakeLists.txt index 028397eb8..77726118e 100644 --- a/plugins/feature/map/CMakeLists.txt +++ b/plugins/feature/map/CMakeLists.txt @@ -82,7 +82,7 @@ if(NOT SERVER_MODE) czml.h ) - set(TARGET_NAME map) + set(TARGET_NAME ${PLUGINS_PREFIX}map) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) @@ -94,7 +94,7 @@ if(NOT SERVER_MODE) set(TARGET_LIB "Qt::Widgets" Qt::Quick Qt::QuickWidgets Qt::Svg Qt::Positioning Qt::Location) endif() else() - set(TARGET_NAME mapsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mapsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/morsedecoder/CMakeLists.txt b/plugins/feature/morsedecoder/CMakeLists.txt index 4b8e4a94e..ea9d3d6af 100644 --- a/plugins/feature/morsedecoder/CMakeLists.txt +++ b/plugins/feature/morsedecoder/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) morsedecodergui.h ) - set(TARGET_NAME featuremorsedecoder) + set(TARGET_NAME ${PLUGINS_PREFIX}featuremorsedecoder) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featuremorsedecodersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featuremorsedecodersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/pertester/CMakeLists.txt b/plugins/feature/pertester/CMakeLists.txt index 33c2b0116..5dbb10592 100644 --- a/plugins/feature/pertester/CMakeLists.txt +++ b/plugins/feature/pertester/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) pertestergui.h ) - set(TARGET_NAME featurepertester) + set(TARGET_NAME ${PLUGINS_PREFIX}featurepertester) set(TARGET_LIB Qt::Widgets) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featurepertestersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featurepertestersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/radiosonde/CMakeLists.txt b/plugins/feature/radiosonde/CMakeLists.txt index c8315a826..c5e504fdd 100644 --- a/plugins/feature/radiosonde/CMakeLists.txt +++ b/plugins/feature/radiosonde/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) radiosondefeedsettingsdialog.h ) - set(TARGET_NAME featureradiosonde) + set(TARGET_NAME ${PLUGINS_PREFIX}featureradiosonde) set(TARGET_LIB Qt::Widgets Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featureradiosondesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featureradiosondesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/remotecontrol/CMakeLists.txt b/plugins/feature/remotecontrol/CMakeLists.txt index 12f0fb2cf..457e445b2 100644 --- a/plugins/feature/remotecontrol/CMakeLists.txt +++ b/plugins/feature/remotecontrol/CMakeLists.txt @@ -41,12 +41,12 @@ if(NOT SERVER_MODE) remotecontrolvisacontroldialog.h ) - set(TARGET_NAME featureremotecontrol) + set(TARGET_NAME ${PLUGINS_PREFIX}featureremotecontrol) set(TARGET_LIB Qt::Widgets Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featureremotecontrolsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featureremotecontrolsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/rigctlserver/CMakeLists.txt b/plugins/feature/rigctlserver/CMakeLists.txt index 25737fa14..f22089101 100644 --- a/plugins/feature/rigctlserver/CMakeLists.txt +++ b/plugins/feature/rigctlserver/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) rigctlservergui.h ) - set(TARGET_NAME featurerigctlserver) + set(TARGET_NAME ${PLUGINS_PREFIX}featurerigctlserver) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featurerigctlserversrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featurerigctlserversrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/satellitetracker/CMakeLists.txt b/plugins/feature/satellitetracker/CMakeLists.txt index f6324c8e4..e7f01b973 100644 --- a/plugins/feature/satellitetracker/CMakeLists.txt +++ b/plugins/feature/satellitetracker/CMakeLists.txt @@ -47,12 +47,12 @@ if(NOT SERVER_MODE) satellitedevicesettingsgui.h ) - set(TARGET_NAME featuresatellitetracker) + set(TARGET_NAME ${PLUGINS_PREFIX}featuresatellitetracker) set(TARGET_LIB Qt::Widgets Qt::Positioning Qt::Charts Qt::TextToSpeech) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featuresatellitetrackersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featuresatellitetrackersrv) set(TARGET_LIB Qt::Positioning Qt::Charts) set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/sid/CMakeLists.txt b/plugins/feature/sid/CMakeLists.txt index 6e0d57f95..70397716c 100644 --- a/plugins/feature/sid/CMakeLists.txt +++ b/plugins/feature/sid/CMakeLists.txt @@ -38,12 +38,12 @@ if(NOT SERVER_MODE) sidaddchannelsdialog.h ) - set(TARGET_NAME featuresid) + set(TARGET_NAME ${PLUGINS_PREFIX}featuresid) set(TARGET_LIB Qt::Widgets Qt::Charts Qt::Multimedia Qt::MultimediaWidgets) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featuresidsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featuresidsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/simpleptt/CMakeLists.txt b/plugins/feature/simpleptt/CMakeLists.txt index a4caa3c57..9d20185b0 100644 --- a/plugins/feature/simpleptt/CMakeLists.txt +++ b/plugins/feature/simpleptt/CMakeLists.txt @@ -40,12 +40,12 @@ if(NOT SERVER_MODE) simplepttcommandoutputdialog.h ) - set(TARGET_NAME featuresimpleptt) + set(TARGET_NAME ${PLUGINS_PREFIX}featuresimpleptt) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featuresimplepttsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featuresimplepttsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/skymap/CMakeLists.txt b/plugins/feature/skymap/CMakeLists.txt index 2466ff69a..d8e93f5ba 100644 --- a/plugins/feature/skymap/CMakeLists.txt +++ b/plugins/feature/skymap/CMakeLists.txt @@ -49,7 +49,7 @@ if(NOT SERVER_MODE) webview.h ) - set(TARGET_NAME featureskymap) + set(TARGET_NAME ${PLUGINS_PREFIX}featureskymap) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) @@ -61,7 +61,7 @@ if(NOT SERVER_MODE) set(TARGET_LIB "Qt::Widgets" Qt::Positioning Qt::Location) endif() else() - set(TARGET_NAME featureskymapsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featureskymapsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/startracker/CMakeLists.txt b/plugins/feature/startracker/CMakeLists.txt index 3d44af827..85daa89f9 100644 --- a/plugins/feature/startracker/CMakeLists.txt +++ b/plugins/feature/startracker/CMakeLists.txt @@ -43,12 +43,12 @@ if(NOT SERVER_MODE) startrackersettingsdialog.h ) - set(TARGET_NAME featurestartracker) + set(TARGET_NAME ${PLUGINS_PREFIX}featurestartracker) set(TARGET_LIB Qt::Widgets Qt::Charts) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME featurestartrackersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}featurestartrackersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/feature/vorlocalizer/CMakeLists.txt b/plugins/feature/vorlocalizer/CMakeLists.txt index 599c94481..894f5286c 100644 --- a/plugins/feature/vorlocalizer/CMakeLists.txt +++ b/plugins/feature/vorlocalizer/CMakeLists.txt @@ -36,12 +36,12 @@ if(NOT SERVER_MODE) vorlocalizergui.h ) - set(TARGET_NAME vorlocalizer) + set(TARGET_NAME ${PLUGINS_PREFIX}vorlocalizer) set(TARGET_LIB "Qt::Widgets" Qt::Quick Qt::QuickWidgets Qt::Positioning) set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME vorlocalizersrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}vorlocalizersrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/audiocatsiso/CMakeLists.txt b/plugins/samplemimo/audiocatsiso/CMakeLists.txt index c777f93aa..806dabb2f 100644 --- a/plugins/samplemimo/audiocatsiso/CMakeLists.txt +++ b/plugins/samplemimo/audiocatsiso/CMakeLists.txt @@ -41,12 +41,12 @@ if (NOT SERVER_MODE) audiocatsisogui.h audiocatsisocatdialog.h ) - set(TARGET_NAME mimoaudiocatsiso) + set(TARGET_NAME ${PLUGINS_PREFIX}mimoaudiocatsiso) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimoaudiocatsisosrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimoaudiocatsisosrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/bladerf2mimo/CMakeLists.txt b/plugins/samplemimo/bladerf2mimo/CMakeLists.txt index 5e6a086b3..de7f1e109 100644 --- a/plugins/samplemimo/bladerf2mimo/CMakeLists.txt +++ b/plugins/samplemimo/bladerf2mimo/CMakeLists.txt @@ -34,12 +34,12 @@ if (NOT SERVER_MODE) ${bladerf2mimo_HEADERS} bladerf2mimogui.h ) - set(TARGET_NAME mimobladerf2) + set(TARGET_NAME ${PLUGINS_PREFIX}mimobladerf2) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimobladerf2srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimobladerf2srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/limesdrmimo/CMakeLists.txt b/plugins/samplemimo/limesdrmimo/CMakeLists.txt index 1d73578cc..0826996bc 100644 --- a/plugins/samplemimo/limesdrmimo/CMakeLists.txt +++ b/plugins/samplemimo/limesdrmimo/CMakeLists.txt @@ -34,12 +34,12 @@ if (NOT SERVER_MODE) ${limesdrmimo_HEADERS} limesdrmimogui.h ) - set(TARGET_NAME mimolimesdr) + set(TARGET_NAME ${PLUGINS_PREFIX}mimolimesdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimolimesdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimolimesdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/metismiso/CMakeLists.txt b/plugins/samplemimo/metismiso/CMakeLists.txt index b84fcc9c9..ceaac2d54 100644 --- a/plugins/samplemimo/metismiso/CMakeLists.txt +++ b/plugins/samplemimo/metismiso/CMakeLists.txt @@ -33,12 +33,12 @@ if (NOT SERVER_MODE) ${metismiso_HEADERS} metismisogui.h ) - set(TARGET_NAME mimometismiso) + set(TARGET_NAME ${PLUGINS_PREFIX}mimometismiso) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimometismisosrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimometismisosrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/plutosdrmimo/CMakeLists.txt b/plugins/samplemimo/plutosdrmimo/CMakeLists.txt index 63e84b199..c8bdccd25 100644 --- a/plugins/samplemimo/plutosdrmimo/CMakeLists.txt +++ b/plugins/samplemimo/plutosdrmimo/CMakeLists.txt @@ -34,12 +34,12 @@ if (NOT SERVER_MODE) ${plutosdrmimo_HEADERS} plutosdrmimogui.h ) - set(TARGET_NAME mimoplutosdr) + set(TARGET_NAME ${PLUGINS_PREFIX}mimoplutosdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimoplutosdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimoplutosdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/testmi/CMakeLists.txt b/plugins/samplemimo/testmi/CMakeLists.txt index dddfe84b9..c3953b149 100644 --- a/plugins/samplemimo/testmi/CMakeLists.txt +++ b/plugins/samplemimo/testmi/CMakeLists.txt @@ -30,12 +30,12 @@ if (NOT SERVER_MODE) ${testmi_HEADERS} testsourcegui.h ) - set(TARGET_NAME mimotestmi) + set(TARGET_NAME ${PLUGINS_PREFIX}mimotestmi) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimotestmisrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimotestmisrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/testmosync/CMakeLists.txt b/plugins/samplemimo/testmosync/CMakeLists.txt index 45b9e16ab..1403098d2 100644 --- a/plugins/samplemimo/testmosync/CMakeLists.txt +++ b/plugins/samplemimo/testmosync/CMakeLists.txt @@ -29,12 +29,12 @@ if(NOT SERVER_MODE) testmosyncgui.h ) - set(TARGET_NAME outputtestmosync) + set(TARGET_NAME ${PLUGINS_PREFIX}outputtestmosync) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputtestmosyncsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputtestmosyncsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplemimo/xtrxmimo/CMakeLists.txt b/plugins/samplemimo/xtrxmimo/CMakeLists.txt index 05a849b14..63c3b23bc 100644 --- a/plugins/samplemimo/xtrxmimo/CMakeLists.txt +++ b/plugins/samplemimo/xtrxmimo/CMakeLists.txt @@ -34,12 +34,12 @@ if (NOT SERVER_MODE) ${xtrxmimo_HEADERS} xtrxmimogui.h ) - set(TARGET_NAME mimoxtrx) + set(TARGET_NAME ${PLUGINS_PREFIX}mimoxtrx) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME mimoxtrxsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}mimoxtrxsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/aaroniartsaoutput/CMakeLists.txt b/plugins/samplesink/aaroniartsaoutput/CMakeLists.txt index 23e2f3e66..05cee4b6f 100644 --- a/plugins/samplesink/aaroniartsaoutput/CMakeLists.txt +++ b/plugins/samplesink/aaroniartsaoutput/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) aaroniartsaoutputgui.h ) - set(TARGET_NAME outputaaroniartsa) + set(TARGET_NAME ${PLUGINS_PREFIX}outputaaroniartsa) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputaaroniartsasrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputaaroniartsasrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/audiooutput/CMakeLists.txt b/plugins/samplesink/audiooutput/CMakeLists.txt index a11ca707d..b53bfe482 100644 --- a/plugins/samplesink/audiooutput/CMakeLists.txt +++ b/plugins/samplesink/audiooutput/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) audiooutputgui.h ) - set(TARGET_NAME outputaudio) + set(TARGET_NAME ${PLUGINS_PREFIX}outputaudio) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputaudiosrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputaudiosrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/bladerf1output/CMakeLists.txt b/plugins/samplesink/bladerf1output/CMakeLists.txt index 22a71583a..e92f9934c 100644 --- a/plugins/samplesink/bladerf1output/CMakeLists.txt +++ b/plugins/samplesink/bladerf1output/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) bladerf1outputgui.h ) - set(TARGET_NAME outputbladerf1) + set(TARGET_NAME ${PLUGINS_PREFIX}outputbladerf1) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputbladerf1srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputbladerf1srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/bladerf2output/CMakeLists.txt b/plugins/samplesink/bladerf2output/CMakeLists.txt index 39fc937eb..5e5f2486f 100644 --- a/plugins/samplesink/bladerf2output/CMakeLists.txt +++ b/plugins/samplesink/bladerf2output/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) bladerf2outputgui.h ) - set(TARGET_NAME outputbladerf2) + set(TARGET_NAME ${PLUGINS_PREFIX}outputbladerf2) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputbladerf2srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputbladerf2srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/fileoutput/CMakeLists.txt b/plugins/samplesink/fileoutput/CMakeLists.txt index 030d2b2f0..2be28c545 100644 --- a/plugins/samplesink/fileoutput/CMakeLists.txt +++ b/plugins/samplesink/fileoutput/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) fileoutputgui.h ) - set(TARGET_NAME outputfileoutput) + set(TARGET_NAME ${PLUGINS_PREFIX}outputfileoutput) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputfileoutputsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputfileoutputsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/hackrfoutput/CMakeLists.txt b/plugins/samplesink/hackrfoutput/CMakeLists.txt index 000be2a97..b01c49c3f 100644 --- a/plugins/samplesink/hackrfoutput/CMakeLists.txt +++ b/plugins/samplesink/hackrfoutput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) hackrfoutputgui.h ) - set(TARGET_NAME outputhackrf) + set(TARGET_NAME ${PLUGINS_PREFIX}outputhackrf) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputhackrfsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputhackrfsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/limesdroutput/CMakeLists.txt b/plugins/samplesink/limesdroutput/CMakeLists.txt index 321b704ea..3370bcfd1 100644 --- a/plugins/samplesink/limesdroutput/CMakeLists.txt +++ b/plugins/samplesink/limesdroutput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) limesdroutputgui.h ) - set(TARGET_NAME outputlimesdr) + set(TARGET_NAME ${PLUGINS_PREFIX}outputlimesdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputlimesdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputlimesdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/localoutput/CMakeLists.txt b/plugins/samplesink/localoutput/CMakeLists.txt index 3d16f2f3d..8199df95c 100644 --- a/plugins/samplesink/localoutput/CMakeLists.txt +++ b/plugins/samplesink/localoutput/CMakeLists.txt @@ -30,12 +30,12 @@ if(NOT SERVER_MODE) localoutputgui.h ) - set(TARGET_NAME outputlocal) + set(TARGET_NAME ${PLUGINS_PREFIX}outputlocal) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputlocalsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputlocalsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/plutosdroutput/CMakeLists.txt b/plugins/samplesink/plutosdroutput/CMakeLists.txt index 4e0e26389..35fc851ef 100644 --- a/plugins/samplesink/plutosdroutput/CMakeLists.txt +++ b/plugins/samplesink/plutosdroutput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) plutosdroutputgui.h ) - set(TARGET_NAME outputplutosdr) + set(TARGET_NAME ${PLUGINS_PREFIX}outputplutosdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputplutosdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputplutosdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/remoteoutput/CMakeLists.txt b/plugins/samplesink/remoteoutput/CMakeLists.txt index 778a1b5f0..696288192 100644 --- a/plugins/samplesink/remoteoutput/CMakeLists.txt +++ b/plugins/samplesink/remoteoutput/CMakeLists.txt @@ -39,12 +39,12 @@ if(NOT SERVER_MODE) ${remoteoutput_HEADERS} remoteoutputgui.h ) - set(TARGET_NAME outputremote) + set(TARGET_NAME ${PLUGINS_PREFIX}outputremote) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputremotesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputremotesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/soapysdroutput/CMakeLists.txt b/plugins/samplesink/soapysdroutput/CMakeLists.txt index 7a9f0b49d..2fee26494 100644 --- a/plugins/samplesink/soapysdroutput/CMakeLists.txt +++ b/plugins/samplesink/soapysdroutput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) soapysdroutputgui.h ) - set(TARGET_NAME outputsoapysdr) + set(TARGET_NAME ${PLUGINS_PREFIX}outputsoapysdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputsoapysdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputsoapysdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/testsink/CMakeLists.txt b/plugins/samplesink/testsink/CMakeLists.txt index d2637127c..c64683e81 100644 --- a/plugins/samplesink/testsink/CMakeLists.txt +++ b/plugins/samplesink/testsink/CMakeLists.txt @@ -29,12 +29,12 @@ if(NOT SERVER_MODE) testsinkgui.h ) - set(TARGET_NAME outputtestsink) + set(TARGET_NAME ${PLUGINS_PREFIX}outputtestsink) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputtestsinksrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputtestsinksrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/usrpoutput/CMakeLists.txt b/plugins/samplesink/usrpoutput/CMakeLists.txt index d679c5c06..330d676cd 100644 --- a/plugins/samplesink/usrpoutput/CMakeLists.txt +++ b/plugins/samplesink/usrpoutput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) usrpoutputgui.h ) - set(TARGET_NAME outputusrp) + set(TARGET_NAME ${PLUGINS_PREFIX}outputusrp) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputusrpsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputusrpsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesink/xtrxoutput/CMakeLists.txt b/plugins/samplesink/xtrxoutput/CMakeLists.txt index f25f7bfb8..a9da2297d 100644 --- a/plugins/samplesink/xtrxoutput/CMakeLists.txt +++ b/plugins/samplesink/xtrxoutput/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) xtrxoutputgui.h ) - set(TARGET_NAME outputxtrx) + set(TARGET_NAME ${PLUGINS_PREFIX}outputxtrx) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME outputxtrxsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}outputxtrxsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/aaroniartsainput/CMakeLists.txt b/plugins/samplesource/aaroniartsainput/CMakeLists.txt index 8336c83fa..b9f793c63 100644 --- a/plugins/samplesource/aaroniartsainput/CMakeLists.txt +++ b/plugins/samplesource/aaroniartsainput/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) aaroniartsainputgui.h ) - set(TARGET_NAME inputaaroniartsa) + set(TARGET_NAME ${PLUGINS_PREFIX}inputaaroniartsa) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputaaroniartsasrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputaaroniartsasrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/airspy/CMakeLists.txt b/plugins/samplesource/airspy/CMakeLists.txt index d72931690..5d134d3dc 100644 --- a/plugins/samplesource/airspy/CMakeLists.txt +++ b/plugins/samplesource/airspy/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) airspygui.h ) - set(TARGET_NAME inputairspy) + set(TARGET_NAME ${PLUGINS_PREFIX}inputairspy) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputairspysrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputairspysrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/airspyhf/CMakeLists.txt b/plugins/samplesource/airspyhf/CMakeLists.txt index b90183c33..62872a759 100644 --- a/plugins/samplesource/airspyhf/CMakeLists.txt +++ b/plugins/samplesource/airspyhf/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) airspyhfgui.h ) - set(TARGET_NAME inputairspyhf) + set(TARGET_NAME ${PLUGINS_PREFIX}inputairspyhf) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputairspyhfsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputairspyhfsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/androidsdrdriverinput/CMakeLists.txt b/plugins/samplesource/androidsdrdriverinput/CMakeLists.txt index 9fa4683d1..60bbb464d 100644 --- a/plugins/samplesource/androidsdrdriverinput/CMakeLists.txt +++ b/plugins/samplesource/androidsdrdriverinput/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) androidsdrdriverinputgui.h ) - set(TARGET_NAME inputandroidsdrdriverinput) + set(TARGET_NAME ${PLUGINS_PREFIX}inputandroidsdrdriverinput) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputandroidsdrdriverinputsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputandroidsdrdriverinputsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/audioinput/CMakeLists.txt b/plugins/samplesource/audioinput/CMakeLists.txt index d1c754f1b..d25a492a5 100644 --- a/plugins/samplesource/audioinput/CMakeLists.txt +++ b/plugins/samplesource/audioinput/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) audioinputgui.h ) - set(TARGET_NAME inputaudio) + set(TARGET_NAME ${PLUGINS_PREFIX}inputaudio) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputaudiosrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputaudiosrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/bladerf1input/CMakeLists.txt b/plugins/samplesource/bladerf1input/CMakeLists.txt index 0c41e1944..8869c8dec 100644 --- a/plugins/samplesource/bladerf1input/CMakeLists.txt +++ b/plugins/samplesource/bladerf1input/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) bladerf1inputgui.h ) - set(TARGET_NAME inputbladerf1) + set(TARGET_NAME ${PLUGINS_PREFIX}inputbladerf1) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputbladerf1srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputbladerf1srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/bladerf2input/CMakeLists.txt b/plugins/samplesource/bladerf2input/CMakeLists.txt index 4827ac76b..74194d64f 100644 --- a/plugins/samplesource/bladerf2input/CMakeLists.txt +++ b/plugins/samplesource/bladerf2input/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) bladerf2inputgui.h ) - set(TARGET_NAME inputbladerf2) + set(TARGET_NAME ${PLUGINS_PREFIX}inputbladerf2) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputbladerf2srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputbladerf2srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/fcdpro/CMakeLists.txt b/plugins/samplesource/fcdpro/CMakeLists.txt index 4b65abe0d..4fc932d61 100644 --- a/plugins/samplesource/fcdpro/CMakeLists.txt +++ b/plugins/samplesource/fcdpro/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) fcdprogui.h ) - set(TARGET_NAME inputfcdpro) + set(TARGET_NAME ${PLUGINS_PREFIX}inputfcdpro) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputfcdprosrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputfcdprosrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/fcdproplus/CMakeLists.txt b/plugins/samplesource/fcdproplus/CMakeLists.txt index 83bd24f8a..c2cb4daa1 100644 --- a/plugins/samplesource/fcdproplus/CMakeLists.txt +++ b/plugins/samplesource/fcdproplus/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) fcdproplusgui.h ) - set(TARGET_NAME inputfcdproplus) + set(TARGET_NAME ${PLUGINS_PREFIX}inputfcdproplus) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputfcdproplussrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputfcdproplussrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/fileinput/CMakeLists.txt b/plugins/samplesource/fileinput/CMakeLists.txt index 5042b499a..61ff4a11e 100644 --- a/plugins/samplesource/fileinput/CMakeLists.txt +++ b/plugins/samplesource/fileinput/CMakeLists.txt @@ -30,12 +30,12 @@ if(NOT SERVER_MODE) ${fileinput_HEADERS} fileinputgui.h ) - set(TARGET_NAME inputfileinput) + set(TARGET_NAME ${PLUGINS_PREFIX}inputfileinput) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputfileinputsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputfileinputsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/hackrfinput/CMakeLists.txt b/plugins/samplesource/hackrfinput/CMakeLists.txt index e17a3710d..cd5b3adc2 100644 --- a/plugins/samplesource/hackrfinput/CMakeLists.txt +++ b/plugins/samplesource/hackrfinput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) hackrfinputgui.h ) - set(TARGET_NAME inputhackrf) + set(TARGET_NAME ${PLUGINS_PREFIX}inputhackrf) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputhackrfsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputhackrfsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/kiwisdr/CMakeLists.txt b/plugins/samplesource/kiwisdr/CMakeLists.txt index f6714b79e..351f335e5 100644 --- a/plugins/samplesource/kiwisdr/CMakeLists.txt +++ b/plugins/samplesource/kiwisdr/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) kiwisdrgui.h ) - set(TARGET_NAME inputkiwisdr) + set(TARGET_NAME ${PLUGINS_PREFIX}inputkiwisdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputkiwisdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputkiwisdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/limesdrinput/CMakeLists.txt b/plugins/samplesource/limesdrinput/CMakeLists.txt index fcc50b4af..89a75a067 100644 --- a/plugins/samplesource/limesdrinput/CMakeLists.txt +++ b/plugins/samplesource/limesdrinput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) limesdrinputgui.h ) - set(TARGET_NAME inputlimesdr) + set(TARGET_NAME ${PLUGINS_PREFIX}inputlimesdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputlimesdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputlimesdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/localinput/CMakeLists.txt b/plugins/samplesource/localinput/CMakeLists.txt index a7bd05457..48a511cdc 100644 --- a/plugins/samplesource/localinput/CMakeLists.txt +++ b/plugins/samplesource/localinput/CMakeLists.txt @@ -31,12 +31,12 @@ if(NOT SERVER_MODE) localinputgui.h ) - set(TARGET_NAME inputlocal) + set(TARGET_NAME ${PLUGINS_PREFIX}inputlocal) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputlocalsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputlocalsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/perseus/CMakeLists.txt b/plugins/samplesource/perseus/CMakeLists.txt index d20662f0a..e3e1e0993 100644 --- a/plugins/samplesource/perseus/CMakeLists.txt +++ b/plugins/samplesource/perseus/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) perseusgui.h ) - set(TARGET_NAME inputperseus) + set(TARGET_NAME ${PLUGINS_PREFIX}inputperseus) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputperseussrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputperseussrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/plutosdrinput/CMakeLists.txt b/plugins/samplesource/plutosdrinput/CMakeLists.txt index 98ed3045b..65e5080cb 100644 --- a/plugins/samplesource/plutosdrinput/CMakeLists.txt +++ b/plugins/samplesource/plutosdrinput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) plutosdrinputgui.h ) - set(TARGET_NAME inputplutosdr) + set(TARGET_NAME ${PLUGINS_PREFIX}inputplutosdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputplutosdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputplutosdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/remoteinput/CMakeLists.txt b/plugins/samplesource/remoteinput/CMakeLists.txt index b6f50261c..21b8918f4 100644 --- a/plugins/samplesource/remoteinput/CMakeLists.txt +++ b/plugins/samplesource/remoteinput/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) remoteinputgui.h ) - set(TARGET_NAME inputremote) + set(TARGET_NAME ${PLUGINS_PREFIX}inputremote) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputremotesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputremotesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/remotetcpinput/CMakeLists.txt b/plugins/samplesource/remotetcpinput/CMakeLists.txt index 9603cb95a..bdcdd640b 100644 --- a/plugins/samplesource/remotetcpinput/CMakeLists.txt +++ b/plugins/samplesource/remotetcpinput/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) remotetcpinputgui.h ) - set(TARGET_NAME inputtcpremote) + set(TARGET_NAME ${PLUGINS_PREFIX}inputtcpremote) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputtcpremotesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputtcpremotesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/rtlsdr/CMakeLists.txt b/plugins/samplesource/rtlsdr/CMakeLists.txt index b2949ffb1..0f74b3314 100644 --- a/plugins/samplesource/rtlsdr/CMakeLists.txt +++ b/plugins/samplesource/rtlsdr/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) rtlsdrgui.h ) - set(TARGET_NAME inputrtlsdr) + set(TARGET_NAME ${PLUGINS_PREFIX}inputrtlsdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputrtlsdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputrtlsdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/sdrplay/CMakeLists.txt b/plugins/samplesource/sdrplay/CMakeLists.txt index 203d42d71..23f0e1d74 100644 --- a/plugins/samplesource/sdrplay/CMakeLists.txt +++ b/plugins/samplesource/sdrplay/CMakeLists.txt @@ -33,12 +33,12 @@ if(NOT SERVER_MODE) sdrplaygui.h ) - set(TARGET_NAME inputsdrplay) + set(TARGET_NAME ${PLUGINS_PREFIX}inputsdrplay) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputsdrplaysrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputsdrplaysrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/sdrplayv3/CMakeLists.txt b/plugins/samplesource/sdrplayv3/CMakeLists.txt index 420f368a3..54a14bea6 100644 --- a/plugins/samplesource/sdrplayv3/CMakeLists.txt +++ b/plugins/samplesource/sdrplayv3/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) sdrplayv3gui.h ) - set(TARGET_NAME inputsdrplayv3) + set(TARGET_NAME ${PLUGINS_PREFIX}inputsdrplayv3) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputsdrplayv3srv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputsdrplayv3srv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/sigmffileinput/CMakeLists.txt b/plugins/samplesource/sigmffileinput/CMakeLists.txt index 737bd858d..6d59659c6 100644 --- a/plugins/samplesource/sigmffileinput/CMakeLists.txt +++ b/plugins/samplesource/sigmffileinput/CMakeLists.txt @@ -35,12 +35,12 @@ if(NOT SERVER_MODE) sigmffileinputgui.h recordinfodialog.h ) - set(TARGET_NAME inputsigmffileinput) + set(TARGET_NAME ${PLUGINS_PREFIX}inputsigmffileinput) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputsigmffileinputsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputsigmffileinputsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/soapysdrinput/CMakeLists.txt b/plugins/samplesource/soapysdrinput/CMakeLists.txt index 5fff69a7b..3d019f4aa 100644 --- a/plugins/samplesource/soapysdrinput/CMakeLists.txt +++ b/plugins/samplesource/soapysdrinput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) soapysdrinputgui.h ) - set(TARGET_NAME inputsoapysdr) + set(TARGET_NAME ${PLUGINS_PREFIX}inputsoapysdr) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputsoapysdrsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputsoapysdrsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/testsource/CMakeLists.txt b/plugins/samplesource/testsource/CMakeLists.txt index a82fb4562..0e0c16ba8 100644 --- a/plugins/samplesource/testsource/CMakeLists.txt +++ b/plugins/samplesource/testsource/CMakeLists.txt @@ -32,12 +32,12 @@ if(NOT SERVER_MODE) testsourcegui.h ) - set(TARGET_NAME inputtestsource) + set(TARGET_NAME ${PLUGINS_PREFIX}inputtestsource) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputtestsourcesrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputtestsourcesrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/usrpinput/CMakeLists.txt b/plugins/samplesource/usrpinput/CMakeLists.txt index 4a5868b41..0ad544eac 100644 --- a/plugins/samplesource/usrpinput/CMakeLists.txt +++ b/plugins/samplesource/usrpinput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) usrpinputgui.h ) - set(TARGET_NAME inputusrp) + set(TARGET_NAME ${PLUGINS_PREFIX}inputusrp) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputusrpsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputusrpsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/plugins/samplesource/xtrxinput/CMakeLists.txt b/plugins/samplesource/xtrxinput/CMakeLists.txt index 93019d83b..10c7049db 100644 --- a/plugins/samplesource/xtrxinput/CMakeLists.txt +++ b/plugins/samplesource/xtrxinput/CMakeLists.txt @@ -34,12 +34,12 @@ if(NOT SERVER_MODE) xtrxinputgui.h ) - set(TARGET_NAME inputxtrx) + set(TARGET_NAME ${PLUGINS_PREFIX}inputxtrx) set(TARGET_LIB "Qt::Widgets") set(TARGET_LIB_GUI "sdrgui") set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR}) else() - set(TARGET_NAME inputxtrxsrv) + set(TARGET_NAME ${PLUGINSSRV_PREFIX}inputxtrxsrv) set(TARGET_LIB "") set(TARGET_LIB_GUI "") set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR}) diff --git a/sdrbase/CMakeLists.txt b/sdrbase/CMakeLists.txt index 049b827be..d6f351287 100644 --- a/sdrbase/CMakeLists.txt +++ b/sdrbase/CMakeLists.txt @@ -709,6 +709,10 @@ if(ANDROID) target_link_libraries(sdrbase log) endif() +target_compile_definitions(sdrbase PRIVATE + -DPLUGIN_PREFIX=\"${PLUGIN_PREFIX}\" +) + install(TARGETS sdrbase DESTINATION ${INSTALL_LIB_DIR}) if(WIN32 AND Qt6_FOUND) diff --git a/sdrbase/plugin/pluginmanager.cpp b/sdrbase/plugin/pluginmanager.cpp index 2bf2b3afd..4f59fa07c 100644 --- a/sdrbase/plugin/pluginmanager.cpp +++ b/sdrbase/plugin/pluginmanager.cpp @@ -75,9 +75,15 @@ void PluginManager::loadPluginsPart(const QString& pluginsSubDir) { QString applicationDirPath = QCoreApplication::instance()->applicationDirPath(); QStringList PluginsPath; + QStringList filter; // NOTE: not the best solution but for now this is // on make install [PREFIX]/bin and [PREFIX]/lib/sdrangel +#if defined(ANDROID) + PluginsPath = QStringList({applicationDirPath}); + filter = QStringList({"libsdrangel_" + pluginsSubDir + "_*.so"}); +#else + filter = QStringList({"*"}); PluginsPath << applicationDirPath + "/../" + LIB + "/sdrangel/" + pluginsSubDir; // on build PluginsPath << applicationDirPath + "/" + LIB + "/" + pluginsSubDir; @@ -90,8 +96,7 @@ void PluginManager::loadPluginsPart(const QString& pluginsSubDir) // By default it searches in `$applicationDir/../lib/SoapySDR/`, which on Windows // is incorrect as both `bin` and `lib` dir are set to root application dir. qputenv("SOAPY_SDR_ROOT", applicationDirPath.toLocal8Bit()); -#elif defined(ANDROID) - PluginsPath = QStringList({applicationDirPath}); +#endif #endif // NOTE: exit on the first folder found @@ -105,7 +110,7 @@ void PluginManager::loadPluginsPart(const QString& pluginsSubDir) } found = true; - loadPluginsDir(d); + loadPluginsDir(d, filter); break; } @@ -211,11 +216,11 @@ void PluginManager::registerFeature(const QString& featureIdURI, const QString& m_featureRegistrations.append(PluginAPI::FeatureRegistration(featureIdURI, featureId, plugin)); } -void PluginManager::loadPluginsDir(const QDir& dir) +void PluginManager::loadPluginsDir(const QDir& dir, const QStringList& filter) { QDir pluginsDir(dir); - foreach (QString fileName, pluginsDir.entryList(QDir::Files)) + foreach (QString fileName, pluginsDir.entryList(filter, QDir::Files)) { if (QLibrary::isLibrary(fileName)) { diff --git a/sdrbase/plugin/pluginmanager.h b/sdrbase/plugin/pluginmanager.h index 96a9f79a8..e7506d35f 100644 --- a/sdrbase/plugin/pluginmanager.h +++ b/sdrbase/plugin/pluginmanager.h @@ -162,7 +162,7 @@ private: static const QString m_testMIMOHardwareID; //!< Test MIMO hardware ID static const QString m_testMIMODeviceTypeID; //!< Test MIMO plugin ID - void loadPluginsDir(const QDir& dir); + void loadPluginsDir(const QDir& dir, const QStringList& filter); }; static inline bool operator<(const PluginManager::Plugin& a, const PluginManager::Plugin& b)