mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
Add an option to disable tests
This commit is contained in:
parent
dd3e1854ef
commit
06ad721f91
3 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@ configure_file(
|
|||
output: pkg + '-sharp.dll.config',
|
||||
configuration: configuration_data())
|
||||
|
||||
if add_languages('c', required: false) and csc.get_id() == 'mono'
|
||||
if add_languages('c', required: get_option('tests')) and csc.get_id() == 'mono'
|
||||
c_abi_exe = executable(pkg + '_c_abi', c_abi,
|
||||
c_args: ['-Wno-deprecated', '-Wno-deprecated-declarations'],
|
||||
dependencies: [gst_deps, ges_dep])
|
||||
|
|
1
meson_options.txt
Normal file
1
meson_options.txt
Normal file
|
@ -0,0 +1 @@
|
|||
option('tests', type : 'feature', value : 'auto', yield : true)
|
|
@ -41,7 +41,7 @@ gst_sharp = shared_library('gstreamer-sharp', gst_generate_files, sources,
|
|||
gst_sharp_dep = declare_dependency(dependencies: [glib_sharp_dep, gio_sharp_dep],
|
||||
link_with: gst_sharp)
|
||||
|
||||
if add_languages('c', required: false) and csc.get_id() == 'mono'
|
||||
if add_languages('c', required: get_option('tests')) and csc.get_id() == 'mono'
|
||||
c_abi_exe = executable('gst_sharp_c_abi', c_abi,
|
||||
c_args: ['-DGST_USE_UNSTABLE_API'],
|
||||
dependencies: [gst_deps])
|
||||
|
|
Loading…
Reference in a new issue