From 6c3b7a487b82090b125614ea983e47d4d8c10537 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 27 Apr 2021 12:08:52 +0100 Subject: 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. --- meson_options.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meson_options.txt') 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') -- cgit v1.2.1