diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-08-18 21:08:55 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-08-18 21:10:51 +0100 |
commit | ce64f0e0e0d4e692c8d99f9744d38b9676b3d720 (patch) | |
tree | d2a8e2835492aadfab0baf2c7e40dc67681a598b /meson_options.txt | |
parent | 8305cb2995a8f842b488494574546880bf3bf95a (diff) | |
download | gstreamer-plugins-good-ce64f0e0e0d4e692c8d99f9744d38b9676b3d720.tar.gz |
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.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 0d7a4bb98..460a13a9a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -86,6 +86,10 @@ option('examples', type : 'feature', value : 'auto', yield : true) option('tests', type : 'feature', value : 'auto', yield : true) 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, |