[PATCH 1/2] meson: make the default value of "documentation" feature explicit

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Apr 4 19:07:46 CEST 2025


Hi Quentin,

Thank you for the patch.

On Fri, Apr 04, 2025 at 06:12:34PM +0200, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at cherry.de>
> 
> The meson documentation on the feature build options isn't clear if a
> missing "value" is legal and if it is, what its default value is.[1]
> 
> Therefore, let's make it explicit by using what is experimentally the
> default: auto.
> 
> [1] https://mesonbuild.com/Build-options.html#features
> 
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  meson_options.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meson_options.txt b/meson_options.txt
> index 1877d800..2104469e 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -18,6 +18,7 @@ option('cam',
>  
>  option('documentation',
>          type : 'feature',
> +        value : 'auto',
>          description : 'Generate the project documentation')
>  
>  option('doc_werror',

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list