diff options
author | Qyriad <qyriad@qyriad.me> | 2024-04-11 12:17:19 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-04-15 19:05:07 -0600 |
commit | b81eec6ed56e5a5ad448359fc3d7755b68e59d0b (patch) | |
tree | eb8655a9f1447ae3c5fe5ae73cae7c2b9340b3b2 /meson.options | |
parent | 99845e0e01eaa2120b10c22591c43c4305f5ba51 (diff) |
build internal API docs with Meson
This commit adds the capability for building the Doxygen internal API
docs in the Meson buildsystem, and also makes doing so the default for
the internal-api-docs hydra job. Aside from the /nix-support directory,
which differed only by the hash part of a store path, the outputs of
hydraJobs.internal-api-docs before and after this commit were
bit-for-bit identical on my machine.
Change-Id: I98f0017891c25b06866c15f7652fe74f706ec8e1
Diffstat (limited to 'meson.options')
-rw-r--r-- | meson.options | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.options b/meson.options index c71ec18ae..e66b6c5ed 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', |