mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-10 12:28:48 -04:00
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:
parent
74a2ce1e91
commit
85036c964c
@ -17,7 +17,9 @@ module;
|
|||||||
#include <vulkan/${api}_hash.hpp>
|
#include <vulkan/${api}_hash.hpp>
|
||||||
#include <vulkan/${api}_raii.hpp>
|
#include <vulkan/${api}_raii.hpp>
|
||||||
#include <vulkan/${api}_shared.hpp>
|
#include <vulkan/${api}_shared.hpp>
|
||||||
|
#ifndef VULKAN_HPP_NO_TO_STRING
|
||||||
#include <vulkan/${api}_to_string.hpp>
|
#include <vulkan/${api}_to_string.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
export module ${api}_hpp;
|
export module ${api}_hpp;
|
||||||
|
|
||||||
|
@ -22,7 +22,9 @@ module;
|
|||||||
#include <vulkan/vulkan_hash.hpp>
|
#include <vulkan/vulkan_hash.hpp>
|
||||||
#include <vulkan/vulkan_raii.hpp>
|
#include <vulkan/vulkan_raii.hpp>
|
||||||
#include <vulkan/vulkan_shared.hpp>
|
#include <vulkan/vulkan_shared.hpp>
|
||||||
|
#ifndef VULKAN_HPP_NO_TO_STRING
|
||||||
# include <vulkan/vulkan_to_string.hpp>
|
# include <vulkan/vulkan_to_string.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
export module vulkan_hpp;
|
export module vulkan_hpp;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user