GNOME Bugzilla – Bug 796798
build: Use new meson 'feature' option and dictionnary
Last modified: 2018-07-12 16:25:29 UTC
.
Created attachment 373007 [details] [review] Use new 'feature' option and dictionnary Simplifying the build definition, making its options more flexible and it is now simpler to read.
Review of attachment 373007 [details] [review]: ::: meson.build @@ -145,3 +107,6 @@ -message('Building subprojects: ' + ', '.join(subprojects)) -foreach subproj: subprojects - subproject(subproj, version: gst_version) +subprojects_names = [] +foreach project_name, build_infos: subprojects + build = false ... 3 more ... I think you could do: elif get_option(build_infos.get('option')).auto()
Created attachment 373008 [details] [review] Use new 'feature' option and dictionnary Simplifying the build definition, making its options more flexible and it is now simpler to read.
Review of attachment 373008 [details] [review]: Nice :D
Attachment 373008 [details] pushed as 3d47163 - Use new 'feature' option and dictionnary