diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-03-22 09:31:46 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-04-03 11:44:04 +0700 |
commit | abda899fa920ee891e3c6f1b8da79bd77eb28784 (patch) | |
tree | c8e4a2baace4e0d72ec987c283c933afdfc6487d | |
parent | 4635df70063980f87c7c74567eea58b2195091d7 (diff) |
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | meson_options.txt | 9 |
1 files changed, 7 insertions, 2 deletions
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') |