mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
meson: Add an option to activate extra checks
And activate them by default as with autotools
This commit is contained in:
parent
724cc53b28
commit
cc869065a5
2 changed files with 3 additions and 1 deletions
|
@ -377,7 +377,7 @@ test_deps = [gmp_dep, gsl_dep, gslcblas_dep]
|
||||||
# Used by gstinfo.c
|
# Used by gstinfo.c
|
||||||
dl_dep = cc.find_library('dl', required : false)
|
dl_dep = cc.find_library('dl', required : false)
|
||||||
cdata.set('HAVE_DLADDR', cc.has_function('dladdr', dependencies : dl_dep))
|
cdata.set('HAVE_DLADDR', cc.has_function('dladdr', dependencies : dl_dep))
|
||||||
|
cdata.set10('GST_ENABLE_EXTRA_CHECKS', get_option('extra-checks'))
|
||||||
|
|
||||||
configinc = include_directories('.')
|
configinc = include_directories('.')
|
||||||
libsinc = include_directories('libs')
|
libsinc = include_directories('libs')
|
||||||
|
|
|
@ -24,3 +24,5 @@ option('package-name', type : 'string', yield : true,
|
||||||
description : 'package name to use in plugins')
|
description : 'package name to use in plugins')
|
||||||
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('extra-checks', type : 'boolean', value : true,
|
||||||
|
description : 'Enable extra runtime checks')
|
||||||
|
|
Loading…
Reference in a new issue