summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build11
1 files changed, 7 insertions, 4 deletions
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')