mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
Meson: Change extra-checks to feature option and make it yielding
This commit is contained in:
parent
eea520fe6d
commit
b462870094
2 changed files with 2 additions and 2 deletions
|
@ -385,7 +385,7 @@ else
|
||||||
message('Orc Compiler not found or disabled, will use backup C code')
|
message('Orc Compiler not found or disabled, will use backup C code')
|
||||||
cdata.set('DISABLE_ORC', 1)
|
cdata.set('DISABLE_ORC', 1)
|
||||||
endif
|
endif
|
||||||
cdata.set('GST_ENABLE_EXTRA_CHECKS', get_option('extra-checks'))
|
cdata.set('GST_ENABLE_EXTRA_CHECKS', not get_option('extra-checks').disabled())
|
||||||
|
|
||||||
gnustl_dep = declare_dependency()
|
gnustl_dep = declare_dependency()
|
||||||
if host_system == 'android'
|
if host_system == 'android'
|
||||||
|
|
|
@ -184,7 +184,7 @@ option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
|
||||||
description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)')
|
description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)')
|
||||||
option('glib-checks', type : 'feature', value : 'enabled', yield : true,
|
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)')
|
description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)')
|
||||||
option('extra-checks', type : 'boolean', value : true, description : 'Enable extra runtime checks')
|
option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks')
|
||||||
|
|
||||||
# Common options
|
# Common options
|
||||||
option('package-name', type : 'string', yield : true,
|
option('package-name', type : 'string', yield : true,
|
||||||
|
|
Loading…
Reference in a new issue