Convert common meson options to feature options

These changes have been mirrored in all subproject repositories.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
This commit is contained in:
Nirbheek Chauhan 2018-07-25 19:36:20 +05:30
parent 7ec215b509
commit eaf17bfff4

View file

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