diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-04-27 12:08:52 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-08-14 15:34:23 +0100 |
commit | 6c3b7a487b82090b125614ea983e47d4d8c10537 (patch) | |
tree | 61ed47f2728db09a42ab39f0a1a4259c318c63b7 /meson_options.txt | |
parent | d0a2031c5c8b85e0ea5481f8d4edf99deac3ae36 (diff) | |
download | cairo-6c3b7a487b82090b125614ea983e47d4d8c10537.tar.gz |
meson: Build the API reference
The Meson build system should build the API reference using gtk-doc,
like the Autotools build does.
The option is called `gtk_doc`, which matches the existing practices in
various projects using Meson and gtk-doc.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 7ec0dc92a..b96369fb5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -34,6 +34,10 @@ option('spectre', type : 'feature', value : 'auto') option('symbol-lookup', type: 'feature', value : 'auto', description: 'Symbol lookup in debug utils via binutils/bfd') +# Documentation +option('gtk_doc', type : 'boolean', value : false, + description: 'Build the Cairo API reference (depends on gtk-doc)') + # FIXME: implement these to avoid automagic #option('egl', type : 'feature', value : 'auto') #option('glx', type : 'feature', value : 'auto') |