[Mesa-dev] [RFC PATCH v1 20/30] HACK: vulkan: Install Vulkan headers

Chad Versace chadversary at chromium.org
Tue Nov 7 14:48:01 UTC 2017


This allows me to build apps against new extensions without installing
an updated loader.
---
 include/meson.build | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/meson.build b/include/meson.build
index b5f533bd185..3cf582a4b12 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -66,3 +66,15 @@ if with_egl
     subdir : 'EGL',
   )
 endif
+
+# HACK
+if _vulkan_drivers != []
+  install_headers(
+    'vulkan/vk_android_native_buffer.h',
+    'vulkan/vk_icd.h',
+    'vulkan/vk_platform.h',
+    'vulkan/vulkan.h',
+    'vulkan/vulkan_intel.h',
+    subdir : 'vulkan',
+  )
+endif
-- 
2.13.0



More information about the mesa-dev mailing list