From fc31be09177bb27574fbbcf112ca431ed3bbaf58 Mon Sep 17 00:00:00 2001 From: Camilo Celis Guzman Date: Thu, 28 Oct 2021 02:38:07 +0900 Subject: [PATCH] meson_options: declare glib and gobject checks at top level This makes it easier to specify this features for all subprojects. Part-of: --- meson_options.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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)')