meson_options: declare glib and gobject checks at top level

This makes it easier to specify this features for all subprojects.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2238>
This commit is contained in:
Camilo Celis Guzman 2021-10-28 02:38:07 +09:00 committed by GStreamer Marge Bot
parent 97655eb8ac
commit fc31be0917

View file

@ -54,3 +54,10 @@ option('gtk_doc', type : 'feature', value : 'disabled', description : 'Generate
option('package-origin', type : 'string', value : 'Unknown package origin', yield : true, option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
description : 'package origin URL to use in plugins') 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)')