diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-09-02 12:00:05 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-09-02 12:00:57 +0100 |
commit | 3a0eab776e9fcff2d985c1677920cd275faae133 (patch) | |
tree | 8b16396a0c578bcc3bb794c20ce6f2816ce1c569 /meson_options.txt | |
parent | 1e92faff76b78ec55403c3ff5aac6167610ab064 (diff) | |
download | gtk+-3a0eab776e9fcff2d985c1677920cd275faae133.tar.gz |
build: Add option to enable/disable GIR generation
And drop the unnecessary is_cross_build() check: it's entirely possible
to generate introspection data when cross-compiling.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 518cecf535..bcd4967e52 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -32,3 +32,5 @@ option('enable-documentation', type: 'boolean', value: 'false', description : 'Build API reference and tools documentation') option('enable-man-pages', type: 'boolean', value: 'false', description : 'Build man pages for installed tools') +option('enable-gir', type: 'boolean', value: 'true', + description : 'Build introspection data (requires gobject-introspection)') |