diff --git a/meson_options.txt b/meson_options.txt index f077a19379..1896d25450 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -54,3 +54,10 @@ option('gtk_doc', type : 'feature', value : 'disabled', description : 'Generate option('package-origin', type : 'string', value : 'Unknown package origin', yield : true, description : 'package origin URL to use in plugins') + +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)')