Convert common meson options to feature options
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 25 Jul 2018 14:06:20 +0000 (19:36 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Fri, 27 Jul 2018 09:54:06 +0000 (15:24 +0530)
These changes have been mirrored in all subproject repositories.

https://bugzilla.gnome.org/show_bug.cgi?id=795107

meson_options.txt

index 3e5d35d..be891a3 100644 (file)
@@ -11,7 +11,6 @@ option('sharp', type : 'feature', value : 'disabled')
 option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
 
 # Common options, automatically inherited by subprojects
-option('gtk_doc', type : 'boolean', value : true,
-        description : 'Generate API documentation with gtk-doc')
-option('introspection', type : 'boolean', value : true,
-       description : 'Whether to disable the introspection generation')
+option('examples', type : 'feature', value : 'auto', description : 'Build examples')
+option('gtk_doc', type : 'feature', value : 'auto', description : 'Generate API documentation with gtk-doc')
+option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data')