summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-09-12 12:19:37 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-09-13 23:21:06 +0800
commit271d9e4127fed5db8b85ced59ac15748e49ea287 (patch)
treeaaceee63b05c3db70e6d695f6ab759a060184d58 /meson_options.txt
parent28f3e78e0ca0d5eb36d00fd8aef89eb0d1bacc93 (diff)
downloadatk-271d9e4127fed5db8b85ced59ac15748e49ea287.tar.gz
build: Add option to disable introspection
This adds an option to Meson builds to disable introspection builds even when GObject-Introspection is installed. Introspection is still enabled by default. https://bugzilla.gnome.org/show_bug.cgi?id=785802
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 6c306f3..562a498 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,3 +2,7 @@ option('enable_docs',
description: 'Build API reference for ATK using GTK-Doc',
type: 'boolean',
value: false)
+option('disable_introspection',
+ description: 'Do not build introspection files, even when GObject-Introspection is found',
+ type: 'boolean',
+ value: false)