From abda899fa920ee891e3c6f1b8da79bd77eb28784 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Fri, 22 Mar 2019 09:31:46 +0000 Subject: meson: options: Document the options Re-order the project options and add documentation which will be presented by 'meson configure'. This produces the following extra information: Project options: Option Current Value Possible Values Description ------ ------------- --------------- ----------- documentation true [true, false] Generate the project documentation tests true [true, false] Compile and include the tests Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- meson_options.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index c5df661a..97efc85b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,2 +1,7 @@ -option('tests', type : 'boolean') -option('documentation', type : 'boolean') +option('documentation', + type : 'boolean', + description : 'Generate the project documentation') + +option('tests', + type : 'boolean', + description: 'Compile and include the tests') -- cgit v1.2.1