summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-24 03:35:30 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-27 05:32:15 +0300
commitc0a9768a9bfb8f61e9d21d2f150daa5336537e80 (patch)
tree566ea381b720b4045ccc284dd9a4811101654b82 /meson.build
parent459b3bc6a979a778f1689a86be3589101853977e (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
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)