From c0a9768a9bfb8f61e9d21d2f150daa5336537e80 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 24 May 2021 03:35:30 +0300 Subject: meson: Print summary boolean options in colours 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 Reviewed-by: Umang Jain Reviewed-by: Paul Elder --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2e7dffb7..f6ab7380 100644 --- a/meson.build +++ b/meson.build @@ -183,4 +183,6 @@ summary({ 'qcam application': qcam_enabled, 'lc-compliance application': lc_compliance_enabled, 'Unit tests': test_enabled, - }, section : 'Configuration') + }, + section : 'Configuration', + bool_yn : true) -- cgit v1.2.1