summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan.c.baker@intel.com>2020-05-19 14:01:47 -0700
committerMarge Bot <eric+marge@anholt.net>2020-06-01 18:59:18 +0000
commit138c003d22739b0d1e6860ed398dd511a44cde04 (patch)
treed5c0c4d31282d0166cd05bbc6687174daccdd3ad /meson_options.txt
parenta63e5cbe489f78bc07632291cd276dbd94a3066d (diff)
meson: deprecated 'true' and 'false' in combo options for 'enabled' and 'disabled'
To prepare to use meson's builtin feature options in the future, which are more powerful and provide useful feature for packagers, like the ability to turn all "automagic" features off, and then explicitly turn on the ones they want. This is designed to make the transition softer, since the 'true' and 'false' are still accepted, just with a warning. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/meson_options.txt b/meson_options.txt
index f5609cacc51..464b99286ee 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -32,7 +32,7 @@ option(
'dri3',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'disabled', 'enabled'],
description : 'enable support for dri3'
)
option(
@@ -75,7 +75,7 @@ option(
'gallium-vdpau',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'enable gallium vdpau frontend.',
)
option(
@@ -88,7 +88,7 @@ option(
'gallium-xvmc',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'enable gallium xvmc frontend.',
)
option(
@@ -114,7 +114,7 @@ option(
'gallium-va',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'enable gallium va frontend.',
)
option(
@@ -127,7 +127,7 @@ option(
'gallium-xa',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'enable gallium xa frontend.',
)
option(
@@ -166,7 +166,7 @@ option(
'shader-cache',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build with on-disk shader cache support'
)
option(
@@ -191,21 +191,21 @@ option(
'shared-glapi',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Whether to build a shared or static glapi. Defaults to false on Windows, true elsewhere'
)
option(
'gles1',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build support for OpenGL ES 1.x'
)
option(
'gles2',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build support for OpenGL ES 2.x and 3.x'
)
option(
@@ -218,7 +218,7 @@ option(
'gbm',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build support for gbm platform'
)
option(
@@ -232,7 +232,7 @@ option(
'egl',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build support for EGL platform'
)
option(
@@ -251,35 +251,35 @@ option(
'llvm',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build with LLVM support.'
)
option(
'shared-llvm',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Whether to link LLVM shared or statically.'
)
option(
'valgrind',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Build with valgrind support'
)
option(
'libunwind',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Use libunwind for stack-traces'
)
option(
'lmsensors',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Enable HUD lmsensors support.'
)
option(
@@ -339,14 +339,14 @@ option(
'power8',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Enable power8 optimizations.',
)
option(
'xlib-lease',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
description : 'Enable VK_EXT_acquire_xlib_display.'
)
option(
@@ -383,7 +383,7 @@ option(
option(
'zstd',
type : 'combo',
- choices : ['auto', 'true', 'false'],
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
value : 'auto',
description : 'Use ZSTD instead of ZLIB in some cases.'
)