forked from AuroraMiddleware/gtk
build: Print out a configuration summary
Add some easy to check summary of the configuration step, especially for optional features that can use automatic discovery.
This commit is contained in:
parent
3d8e550085
commit
08526d4da0
14
meson.build
14
meson.build
@ -599,6 +599,20 @@ if get_option('enable-documentation')
|
||||
subdir('docs/reference')
|
||||
endif
|
||||
|
||||
summary = [
|
||||
'',
|
||||
'------',
|
||||
'GTK+ @0@ (@1@)'.format(gtk_version, gtk_api_version),
|
||||
'',
|
||||
' Enabled backends: @0@'.format(pkg_targets.strip()),
|
||||
' Documentation: @0@'.format(get_option('enable-documentation')),
|
||||
' Vulkan support: @0@'.format(have_vulkan),
|
||||
'------',
|
||||
''
|
||||
]
|
||||
|
||||
message('\n'.join(summary))
|
||||
|
||||
# Keep this in sync with post-install.sh expected arguments
|
||||
meson.add_install_script('build-aux/meson/post-install.sh',
|
||||
gtk_api_version,
|
||||
|
Loading…
Reference in New Issue
Block a user