summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-09-19 11:45:59 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-09-19 11:45:59 +0100
commit03a8e6af7206017633fe60b9f0ce4e8435344bf8 (patch)
tree7a1e6d928af4aef881d344d0c172872979e23c35 /meson_options.txt
parent04cb304b2dfaf3f97994476dcf56d38a5421a96c (diff)
downloadgstreamer-plugins-good-03a8e6af7206017633fe60b9f0ce4e8435344bf8.tar.gz
meson: add glib-checks option to disable API guards and such
We want this enabled by default, also in releases, but people may want to disable this for performance-critical workloads or on embedded devices.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index b522ec24f..44ef39909 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -90,6 +90,8 @@ 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)')
+option('glib-checks', type : 'feature', value : 'enabled', yield : true,
+ description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)')
# Common options
option('package-name', type : 'string', yield : true,