fallback : ['gstreamer', 'gst_net_dep'])
if host_system != 'windows'
gst_check_dep = dependency('gstreamer-check-1.0', version : gst_req,
+ required : get_option('tests'),
fallback : ['gstreamer', 'gst_check_dep'])
endif
gst_controller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
subdir('gst')
subdir('ext')
subdir('sys')
-subdir('tools')
+if not get_option('tools').disabled()
+ subdir('tools')
+endif
subdir('tests')
subdir('pkgconfig')
# Common feature options
option('examples', type : 'feature', value : 'auto', yield : true)
+option('tests', type : 'feature', value : 'auto', yield : true)
+option('tools', type : 'feature', value : 'auto', yield : true)
option('gtk_doc', type : 'feature', value : 'auto', yield : true, description : 'Build API documentation with gtk-doc')
option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings')
option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)')
# FIXME: make check work on windows
if host_machine.system() != 'windows'
- subdir('check')
+ if not get_option('tests').disabled() and gst_check_dep.found()
+ subdir('check')
+ endif
endif
if not get_option('examples').disabled()
subdir('examples')