mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
Meson: Change extra-checks to feature option and make it yielding
This commit is contained in:
parent
e94ad24b9f
commit
c18f9d4ad4
2 changed files with 2 additions and 2 deletions
|
@ -436,7 +436,7 @@ test_deps = [gmp_dep, gsl_dep, gslcblas_dep]
|
|||
# Used by gstinfo.c
|
||||
dl_dep = cc.find_library('dl', required : false)
|
||||
cdata.set('HAVE_DLADDR', cc.has_function('dladdr', dependencies : dl_dep))
|
||||
cdata.set('GST_ENABLE_EXTRA_CHECKS', get_option('extra-checks'))
|
||||
cdata.set('GST_ENABLE_EXTRA_CHECKS', not get_option('extra-checks').disabled())
|
||||
cdata.set('USE_POISONING', get_option('poisoning'))
|
||||
|
||||
configinc = include_directories('.')
|
||||
|
|
|
@ -9,7 +9,6 @@ option('ptp-helper-setuid-group', type : 'string',
|
|||
description : 'Group to switch to when installing gst-ptp-helper setuid root')
|
||||
option('ptp-helper-permissions', type : 'combo',
|
||||
choices : ['none', 'setuid-root', 'capabilities', 'auto'], value : 'auto')
|
||||
option('extra-checks', type : 'boolean', value : true, description : 'Enable extra runtime checks')
|
||||
option('option-parsing', type : 'boolean', value : true,
|
||||
description: 'Enable command line option parsing')
|
||||
option('poisoning', type : 'boolean', value : false, description : 'Enable poisoning of deallocated objects')
|
||||
|
@ -39,6 +38,7 @@ 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)')
|
||||
option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks')
|
||||
|
||||
# Common options
|
||||
option('package-name', type : 'string', yield : true,
|
||||
|
|
Loading…
Reference in a new issue