summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-07-13 17:35:41 +0200
committerRichard Hughes <richard@hughsie.com>2017-07-26 13:13:08 +0100
commite0846ce16a61cc2f929e0414d561259e464ff33b (patch)
tree5af1eba4d70a4bf6d512f9e861a5dc6418c7d2dd /meson_options.txt
parent74e4b5105b7bee8755cfa1b628f9fcd36698f3f6 (diff)
downloadappstream-glib-e0846ce16a61cc2f929e0414d561259e464ff33b.tar.gz
meson: introspection optional
Calling g-ir-scanner when cross-compiling with bitbake/OpenEmbedded fails because it calls the wrong ld (the one from the host). More work will be needed in meson.bbclass and/or gobject-introspection.bbclass to make it work. In the meantime, having an option to turn of introspection is useful perhaps also in other cases where the extra work is not needed. For example, fwupd works fine also when it is off. The name of the new meson option matches the --disable-introspection that is used by some autotools-based projects. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index e8c7f55..b2d971a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -6,3 +6,4 @@ option('enable-fonts', type : 'boolean', value : true, description : 'enable fon
option('enable-stemmer', type : 'boolean', value : true, description : 'enable stemmer support')
option('enable-man', type : 'boolean', value : true, description : 'generate man pages')
option('enable-gtk-doc', type : 'boolean', value : false, description : 'generate API reference')
+option('enable-introspection', type : 'boolean', value : true, description : 'generate GObject Introspection data')