meson_options.txt: Add an option to enable/disable tests
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 11 Jun 2020 07:49:18 +0000 (13:19 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 11 Jun 2020 07:49:18 +0000 (13:19 +0530)
All subproject options yield to this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/157>

meson_options.txt

index 498dddd..eb5063d 100644 (file)
@@ -16,6 +16,7 @@ option('gst-full-libraries', type : 'array', value : [],
   description : '''List of libraries to expose in gstreamer-full's ABI. gstreamer, glib and gobject are always included.''')
 
 # Common options, automatically inherited by subprojects
+option('tests', type : 'feature', value : 'auto', description : 'Build tests')
 option('examples', type : 'feature', value : 'auto', description : 'Build examples')
 option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data')
 option('nls', type : 'feature', value : 'auto', description : 'Enable native language support (translations)')