meson: print information about layers being built as part of summary

reviewed-by: Dylan Baker <dylan@pnwbakers.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11673>
This commit is contained in:
Luis Felipe Strano Moraes 2021-05-12 16:12:36 -07:00 committed by Marge Bot
parent 669b6889e4
commit 7f8652d72d
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,7 @@ if with_tools.contains('all')
endif
with_clc = false
with_any_vulkan_layers = get_option('vulkan-layers').length() != 0
with_intel_tools = with_tools.contains('intel') or with_tools.contains('intel-ui')
with_imgui = with_intel_tools or with_vulkan_overlay_layer
@ -2174,6 +2175,9 @@ lines += ''
if with_any_vk
lines += 'Vulkan drivers: ' + ' '.join(_vulkan_drivers)
lines += 'Vulkan ICD dir: ' + with_vulkan_icd_dir
if with_any_vulkan_layers
lines += 'Vulkan layers: ' + ' '.join(get_option('vulkan-layers'))
endif
else
lines += 'Vulkan drivers: no'
endif