summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-08-18 21:15:23 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-08-18 21:15:23 +0100
commitd24e1caf8ee9dc736cd628a43b6aa199c00284be (patch)
tree62826d857cc27bef8f76df4e416bec0a7bc29549 /meson_options.txt
parentcf385f20cf0e32ce974763b8c6ef8d6887208c8a (diff)
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.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 31c860a8..c72110a5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -18,10 +18,16 @@ option('mpeg2dec', type : 'feature', value : 'auto', description : 'MPEG 2 video
option('sidplay', type : 'feature', value : 'auto', description : 'Commodore 64 audio decoder plugin')
option('x264', type : 'feature', value : 'auto', description : 'H.264 video encoder plugin')
-# Common options
+# Common feature options
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,
description : 'package name to use in plugins')
option('package-origin', type : 'string', value : 'Unknown package origin', yield: true,