From 537a527fbfca173bc82f012a7189bcef2ae685a1 Mon Sep 17 00:00:00 2001 From: swinston Date: Mon, 7 Jul 2025 12:04:42 -0700 Subject: [PATCH] Update development environment guide and improve Vulkan module configuration - Fix typo in Antora documentation link to the introduction chapter. - Add `VULKAN_HPP_NO_STRUCT_CONSTRUCTORS` definition to VulkanCppModule for stricter Vulkan-HPP compliance. --- en/02_Development_environment.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/en/02_Development_environment.adoc b/en/02_Development_environment.adoc index 3672a962..5cf549db 100644 --- a/en/02_Development_environment.adoc +++ b/en/02_Development_environment.adoc @@ -72,7 +72,7 @@ your auto-start for your terminal and IDE setup such that those environment variables work everywhere. If you receive an error message, then ensure that your drivers are up to date, -include the Vulkan runtime and that your graphics card is supported. See the +include the Vulkan runtime and that your graphics card is supported. See the xref:00_Introduction.adoc[introduction chapter] for links to drivers from the major vendors. @@ -129,8 +129,9 @@ find_package (Vulkan REQUIRED) add_library(VulkanCppModule) add_library(Vulkan::cppm ALIAS VulkanCppModule) -target_compile_definitions(VulkanCppModule - PUBLIC VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 +ttarget_compile_definitions(VulkanCppModule PUBLIC + VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 + VULKAN_HPP_NO_STRUCT_CONSTRUCTORS=1 ) target_include_directories(VulkanCppModule PRIVATE