[libcamera-devel] [PATCH v2 1/4] meson: Re-order the optional components

Kieran Bingham kieran.bingham at ideasonboard.com
Mon Apr 1 13:03:12 CEST 2019


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 <laurent.pinchart at ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 meson.build | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/meson.build b/meson.build
index 43d4a57602bb..6e68c3e36772 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')
-- 
2.19.1



More information about the libcamera-devel mailing list