From 4635df70063980f87c7c74567eea58b2195091d7 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Fri, 22 Mar 2019 09:26:12 +0000 Subject: meson: Re-order the optional components Re-order the optional components to make them alphabetical, and fix up the indentation to use two spaces as required by meson. A comment is added to highlight that these optional components are enabled by default. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- meson.build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 43d4a576..6e68c3e3 100644 --- a/meson.build +++ b/meson.build @@ -29,12 +29,15 @@ subdir('include') subdir('src') subdir('utils') -if get_option('tests') - subdir('test') -endif +# The documentation and test components are optional and can be disabled +# through configuration values. They are enabled by default. if get_option('documentation') - subdir('Documentation') + subdir('Documentation') +endif + +if get_option('tests') + subdir('test') endif pkg_mod = import('pkgconfig') -- cgit v1.2.1