aboutsummaryrefslogtreecommitdiff
path: root/meson.options
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-04-17 21:48:25 +0000
committerGerrit Code Review <gerrit@lix>2024-04-17 21:48:25 +0000
commitcf0744ceed3b70114ea7b832ae0d02b72d2abfe5 (patch)
treefbc826574b7dc531469adec302269da20b9815da /meson.options
parent6d79aa3d70a65b9eba2982325a8b6d149cbef453 (diff)
parentb81eec6ed56e5a5ad448359fc3d7755b68e59d0b (diff)
Merge "build internal API docs with Meson" into main
Diffstat (limited to 'meson.options')
-rw-r--r--meson.options9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.options b/meson.options
index 3960f8132..48ac63bc7 100644
--- a/meson.options
+++ b/meson.options
@@ -1,4 +1,9 @@
# vim: filetype=meson
+
+option('enable-build', type : 'boolean', value : true,
+ description : 'Set to false to not actually build. Only really makes sense with -Dinternal-api-docs=true',
+)
+
option('gc', type : 'feature',
description : 'enable garbage collection in the Nix expression evaluator (requires Boehm GC)',
)
@@ -51,6 +56,10 @@ option('enable-docs', type : 'boolean', value : true,
description : 'whether to build documentation',
)
+option('internal-api-docs', type : 'feature', value : 'auto',
+ description : 'whether to build internal API documentation (requires doxygen)',
+)
+
# A relative path means it gets appended to prefix.
option('profile-dir', type : 'string', value : 'etc/profile.d',
description : 'the path to install shell profile files',