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])
--- /dev/null
+option('tests', type : 'feature', value : 'auto', yield : true)
\ No newline at end of file
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])