'vk_alloc.h',
'vk_debug_report.c',
'vk_debug_report.h',
+ 'vk_format.c',
'vk_util.c',
'vk_util.h',
)
vk_enum_to_str = custom_target(
'vk_enum_to_str',
- input : ['gen_enum_to_str.py', vk_api_xml[0]],
+ input : ['gen_enum_to_str.py', vk_api_xml],
output : ['vk_enum_to_str.c', 'vk_enum_to_str.h'],
command : [
- prog_python, '@INPUT0@', '--xml', '@INPUT1@', '--outdir',
- meson.current_build_dir()
+ prog_python, '@INPUT0@', '--xml', '@INPUT1@',
+ '--outdir', meson.current_build_dir()
],
)
c_args : [c_vis_args, vulkan_wsi_args],
build_by_default : false,
)
+
+idep_vulkan_util_headers = declare_dependency(
+ sources : vk_enum_to_str[1],
+ include_directories : include_directories('.')
+)
+
+idep_vulkan_util = declare_dependency(
+ link_with : libvulkan_util,
+ dependencies : idep_vulkan_util_headers
+)