mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-21 11:50:04 +00:00
Add C++23 to the workflow. (#1713)
This commit is contained in:
parent
26664a38a4
commit
2e5e845bb9
2
.github/workflows/ci-macos.yml
vendored
2
.github/workflows/ci-macos.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
compiler:
|
||||
- {cxx: "g++-11", c: "clang"}
|
||||
- {cxx: "clang++", c: "clang"}
|
||||
cxx_standard: [11, 14, 17, 20]
|
||||
cxx_standard: [11, 14, 17, 20, 23]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
2
.github/workflows/ci-ubuntu.yml
vendored
2
.github/workflows/ci-ubuntu.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
- {cxx: "g++-11", c: "gcc-11"}
|
||||
- {cxx: "clang++-13", c: "clang-13"}
|
||||
- {cxx: "clang++-14", c: "clang-14"}
|
||||
cxx_standard: [11, 14, 17, 20]
|
||||
cxx_standard: [11, 14, 17, 20, 23]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
2
.github/workflows/ci-windows.yml
vendored
2
.github/workflows/ci-windows.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
os: [windows-latest, windows-2019]
|
||||
architecture: [x86, x64]
|
||||
build_type: [Debug, Release]
|
||||
cxx_standard: [11, 14, 17, 20]
|
||||
cxx_standard: [11, 14, 17, 20, 23]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -4,7 +4,9 @@
|
||||
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
||||
#endif
|
||||
|
||||
#if 201703L < VULKAN_HPP_CPLUSPLUS
|
||||
#if 202002L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 23
|
||||
#elif 201703L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 20
|
||||
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 17
|
||||
|
@ -15973,7 +15973,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# elif defined( __APPLE__ )
|
||||
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
||||
# elif defined( _WIN32 )
|
||||
m_library = ::LoadLibraryA( "vulkan-1.dll" );
|
||||
m_library = ::LoadLibraryA( "vulkan-1.dll" );
|
||||
# else
|
||||
# error unsupported platform
|
||||
# endif
|
||||
|
@ -14,7 +14,9 @@
|
||||
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
||||
#endif
|
||||
|
||||
#if 201703L < VULKAN_HPP_CPLUSPLUS
|
||||
#if 202002L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 23
|
||||
#elif 201703L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 20
|
||||
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
||||
# define VULKAN_HPP_CPP_VERSION 17
|
||||
|
Loading…
Reference in New Issue
Block a user