GNOME Bugzilla – Bug 793920
Print summary of enabled build options in meson.build
Last modified: 2018-03-05 13:33:56 UTC
As is done at the end of the autotools configure.ac: https://git.gnome.org//browse/gvfs/tree/configure.ac#n800 Makes it easier to see whether a particular backend was built.
There isn't any summary because auto-options were removed, so the configuration is deterministically based on meson_options.txt currently. Also you can print nice overview using "meson configure". So I think there isn't any need for some custom summary. Isn't this enough for you?
I'd rather have that information at the end of the "meson" step, so I don't have to go look anywhere but in the build logs for this information. totem prints that information, so does gnome-control-center and gnome-settings-daemon. See also: https://github.com/mesonbuild/meson/issues/757
Created attachment 369106 [details] [review] build: Print summary of the options Here goes a patch that adds again the options summary. However, this was already discussed during the `meson port` bug (bug 786149), and the conclussion was that `meson configure` would be enough for this.
Review of attachment 369106 [details] [review]: Thanks, Inigo. It would be nice to do it somehow automatically, but if I recall correctly, there isn't any way to get a list of project options :-( But ok, I am not against if this help to one of the remaining contributors - thanks hadess for your work here! However, in this case, I don't want to add the old summary, but I would like to use names and order from meson_options.txt...
Created attachment 369137 [details] [review] build: Print summary of the options What about this?
LGTM. I suppose it will work until meson has some similar feature like the one mentioned at comment 2.
So let's go with this... Attachment 369137 [details] pushed as 1f2977d - build: Print summary of the options