C++20 module: Hide to_string behind VULKAN_HPP_NO_TO_STRING (#2077)

* hide to_string behind VULKAN_HPP_NO_TO_STRING

* adjusted generated cppm
This commit is contained in:
Jan Kuhlmann 2025-02-18 08:20:17 +01:00 committed by GitHub
parent 74a2ce1e91
commit 85036c964c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,9 @@ module;
#include <vulkan/${api}_hash.hpp>
#include <vulkan/${api}_raii.hpp>
#include <vulkan/${api}_shared.hpp>
#ifndef VULKAN_HPP_NO_TO_STRING
#include <vulkan/${api}_to_string.hpp>
#endif
export module ${api}_hpp;

View File

@ -22,7 +22,9 @@ module;
#include <vulkan/vulkan_hash.hpp>
#include <vulkan/vulkan_raii.hpp>
#include <vulkan/vulkan_shared.hpp>
#include <vulkan/vulkan_to_string.hpp>
#ifndef VULKAN_HPP_NO_TO_STRING
# include <vulkan/vulkan_to_string.hpp>
#endif
export module vulkan_hpp;