[libcamera-devel] [PATCH] meson: Print summary boolean options in colours
paul.elder at ideasonboard.com
paul.elder at ideasonboard.com
Thu May 27 03:54:59 CEST 2021
Hi Laurent,
On Mon, May 24, 2021 at 03:37:03AM +0300, Laurent Pinchart wrote:
> Boolean options in the summary are printed as 'True' or 'False' by
> default. Enable the bool_yn option, which prints them as 'YES' or 'NO',
> in green and red respectively. This makes the summary more readable.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> meson.build | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 6626fa7ed154..df9c00d06662 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -175,4 +175,6 @@ summary({
> 'qcam application': qcam_enabled,
> 'lc-compliance application': lc_compliance_enabled,
> 'Unit tests': test_enabled,
> - }, section : 'Configuration')
> + },
> + section : 'Configuration',
> + bool_yn : true)
> --
More information about the libcamera-devel
mailing list