summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-09-19 12:02:19 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-09-19 12:02:19 +0100
commit29c7f958845369d5e452a05ca9a1390381a4cdeb (patch)
tree457d6b9bd7555d7696e64b869775592929521cc7 /meson_options.txt
parent15c566cd35b7be8488ce3e81415ba5829dcc5ee8 (diff)
downloadgstreamer-plugins-bad-29c7f958845369d5e452a05ca9a1390381a4cdeb.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 6f1ad2184..b3557f86d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -153,6 +153,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,