diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-09-19 12:00:32 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-09-19 12:00:32 +0100 |
commit | 6c37b359eefebe634e7fb467173a6cac2407e2cc (patch) | |
tree | 23ce5daffb38f743ece1c28eb2fcb6a38c3a6f47 /meson_options.txt | |
parent | b71b9ec934ce0117119d6db13ed7a70069e16db8 (diff) |
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.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 45801c15..3e2374d5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -27,6 +27,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, |