meson: add tests option

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine 2020-02-23 00:09:16 +01:00
parent 792402849f
commit a269bc0bed
2 changed files with 7 additions and 1 deletions

View file

@ -10,6 +10,10 @@ option('man',
description: 'Build manpages', description: 'Build manpages',
type: 'boolean', type: 'boolean',
value: true) value: true)
option('tests',
description: 'Build tests',
type: 'boolean',
value: true)
option('gstreamer', option('gstreamer',
description: 'Build GStreamer plugins', description: 'Build GStreamer plugins',
type: 'boolean', type: 'boolean',

View file

@ -7,7 +7,9 @@ subdir('modules')
if get_option('examples') if get_option('examples')
subdir('examples') subdir('examples')
endif endif
subdir('tests') if get_option('tests')
subdir('tests')
endif
if get_option('gstreamer') if get_option('gstreamer')
subdir('gst') subdir('gst')