diff options
author | kcgen <kcgen@users.noreply.github.com> | 2022-08-05 00:01:46 +0300 |
---|---|---|
committer | kcgen <1557255+kcgen@users.noreply.github.com> | 2022-08-06 05:07:51 +0300 |
commit | 687301bb0a6c794afd3509afbefdca183630ea61 (patch) | |
tree | 09dca0a11ba78d1f8398b2ee57097b4ff134a8b1 /meson_options.txt | |
parent | c9c589679c38c00b904ec317a2fafb600c1cb244 (diff) |
Prioritize release builds using wraps
The majority of people building Staging want release builds without
complications due to system libraries. This includes users on windows
using MSYS2, Raspberry Pi users (via RetroPie), macOS users, and Linux
users with OSes that might be very new or slightly out-of-date.
Packagers can configure meson to use shared libraries and not fallback
to wraps, and additionally ask to have specific libraries provided
from the system using -Duse_system_libs=lib1,lib2, instead of wraps.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 43190fafd..d7cf22914 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -50,6 +50,7 @@ option('try_static_libs', type : 'array', choices : [ 'fluidsynth', + 'glib', 'iir', 'mt32emu', 'opusfile', @@ -64,6 +65,25 @@ option('try_static_libs', description : 'Attempt to statically link selected libraries.' ) +option('use_system_libs', + type : 'array', + choices : [ + 'fluidsynth', + 'glib', + 'iir', + 'mt32emu', + 'opusfile', + 'png', + 'sdl2', + 'sdl2_net', + 'slirp', + 'speexdsp', + 'tracy', + 'zlib'], + value : [], + description : 'Use system libraries (not wraps) for the selected dependencies.' +) + option('unit_tests', type : 'feature', value : 'auto', description : 'Build unit tests. Auto skips for release builds.') |