diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 15:51:56 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 19:58:36 +0000 |
commit | a7c3178f86afa016ddeed8ebbb668ec308b71122 (patch) | |
tree | e3ef8ccef1ed6a9d37285fe18100d499058c8e11 /meson_options.txt | |
parent | c794dce0a088235344851e81511c6c5a532ec36c (diff) | |
download | libepoxy-a7c3178f86afa016ddeed8ebbb668ec308b71122.tar.gz |
meson: Rename the configuration options
The `enable-` prefix is an Autotool-ism; idiomatic naming for Meson
projects should just use the name of the option, and rely on the type
to convey meaning, especially because Meson does not have `disable`
aliases that avoid the explicit `enable-foo=no` cases.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt index fc3371c..b5d7c98 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,12 +1,12 @@ -option('enable-docs', +option('docs', type: 'boolean', value: false, description: 'Enable generating the Epoxy API reference (depends on Doxygen)') -option('enable-glx', +option('glx', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable GLX support') -option('enable-egl', +option('egl', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', |