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>
This commit is contained in:
Laurent Pinchart
2021-05-24 03:35:30 +03:00
parent 459b3bc6a9
commit c0a9768a9b

View File

@@ -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)