You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configure settings.xml during build to define USB not supported
This change it to settings.xml.in and set on add-on compile the settings usable or not.
Is done by change the `<visible>` value and set of default connection type.
The settings are still inside to prevent problems if something tries somewhere to read it.
Further can for build the cmake configuration value "-DUSB_DEVICE_SUPPORT=0" used and if wanted to disable USB support.
option(DISTRIBUTION_BUILD "Linux distribution build (without use of depends folder)"OFF)
7
-
8
7
if(CORE_SYSTEM_NAME STREQUAL windowsstore)
9
8
set(USB_DEVICE_SUPPORT False)
10
9
else()
11
-
set(USB_DEVICE_SUPPORT True)
10
+
option(USB_DEVICE_SUPPORT "Build add-on with USB device support, if set to \"OFF\" RTL-SDR can only be accessed via network"ON)
11
+
endif()
12
+
13
+
# Set values used about configure of settings.xml.in on add-on
14
+
if(NOT USB_DEVICE_SUPPORT)
15
+
set(SETTINGS_XML_IN_CONNECTION_TYPE_NOTE "USB device not suppoted on this add-on, due to this the following setting is not usable and marked as not visible.")
0 commit comments