summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-08-18 21:32:11 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-08-18 21:32:11 +0100
commit7b8d74c15bb817c65c06c63580dae3633a914841 (patch)
tree97a254de1af90777185ce4d38747b5b2d810dca9 /meson_options.txt
parentf19edc8c835724d711094c7c230f542de1e4caf2 (diff)
meson: add options to disable gobject cast checks and glib asserts
... and define G_DISABLE_DEPRECATED for development versions, like we do in autotools.
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 fb89f43b6..0ee11e7b1 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -145,6 +145,10 @@ option('tests', type : 'feature', value : 'auto', yield : true)
option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings')
option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)')
option('orc', type : 'feature', value : 'auto', yield : true)
+option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
+ description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases')
+option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
+ description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases')
# Common options
option('package-name', type : 'string', yield : true,