[Spice-devel] [spice-common v2 3/3] meson: Remove '(default: xxx)' from option description
Frediano Ziglio
fziglio at redhat.com
Wed Jun 6 11:26:23 UTC 2018
>
> 'meson configure' will show the current value of an option, specifying
> the default value in the option description does not add much to that
> output.
>
But the current values are not always the default ones.
You'll need to remove all and do the setup without options to
get default values.
If I forgot how I configured meson I need to setup it again in
another directory and do the diff of the 2 outputs or check
the meson_options.txt file.
> Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
> ---
> Changes since v1: rebased
>
> meson_options.txt | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/meson_options.txt b/meson_options.txt
> index 6994d91..ac9eefa 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -2,38 +2,38 @@ option('alignment-checks',
> type : 'boolean',
> value : false,
> yield : true,
> - description : 'Enable runtime checks for cast alignment
> (default=false)')
> + description : 'Enable runtime checks for cast alignment')
>
> option('extra-checks',
> type : 'boolean',
> value : false,
> yield : true,
> - description : 'Enable extra checks on code (default=false)')
> + description : 'Enable extra checks on code')
>
> option('celt051',
> type : 'combo',
> choices : ['true', 'false', 'auto'],
> value : 'auto',
> - description: 'Enable celt051 audio codec (default=auto)')
> + description: 'Enable celt051 audio codec')
>
> option('opus',
> type : 'combo',
> choices : ['true', 'false', 'auto'],
> value : 'true',
> - description: 'Enable Opus audio codec (default=true)')
> + description: 'Enable Opus audio codec')
>
> option('python-checks',
> type : 'boolean',
> value : true,
> - description : 'Enable checks for Python modules needed to build from git
> (default=true)')
> + description : 'Enable checks for Python modules needed to build from
> git')
>
> option('manual',
> type : 'boolean',
> value : true,
> yield : true,
> - description : 'Build SPICE manual (default=true)')
> + description : 'Build SPICE manual')
>
> option('generate-code',
> type : 'combo',
> choices : ['all', 'server', 'client'],
> - description : 'Which code should be built (default=all)')
> + description : 'Which code should be built')
Frediano
More information about the Spice-devel
mailing list