Vulkan-Hpp/vulkan
Sharadh Rajaraman 6abd3f42a8
Use import std; guarded by macro (#1932)
* Initial build and tests setup

* Enable the `CppStdModule` test

* Snippets and generator changes

* Generated files changes

* Enable std module with macro

* Unconditionally use `import std` with C++23

* Add support for external `import std` control with `VULKAN_HPP_ENABLE_STD_MODULE`

- Rewrite `includes.hpp` and `macros.hpp`
- Unconditionally set `VULKAN_HPP_ENABLE_STD_MODULE` for `vulkan.cppm` to bug-fix
- Generated necessary files again

* Top-level CMake changes

* Reorganise logic, and propagate external macro correctly

* RAII: vulkan_hpp before ifdef

* Define `VK_USE_64_BIT_PTR_DEFINES` in `vulkan_hpp_macros.hpp`

* Generate the `VK_USE_64_BIT_PTR_DEFINES` clause from the XML instead of hardcoding it

* Refactored handling for `VK_USE_64_BIT_PTR_DEFINES`

- Updated condition to positive test for `#ifndef VK_USE_64_BIT_PTR_DEFINES` in `completeMacro`

* Added `#include <string.h>` to resolve `strnlen` missing in the module

* Use only `std.compat`

* FIx after rebase
2024-09-05 08:48:19 +02:00
..
vulkan_enums.hpp Mark deprecated enum values as deprecated (#1955) 2024-09-03 08:53:36 +02:00
vulkan_extension_inspection.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkan_format_traits.hpp Update Vulkan-Headers to v1.3.282 (#1846) 2024-04-15 16:55:23 +02:00
vulkan_funcs.hpp Removed special handling for enumerating commands with complex size information via a struct, generating just the standard function in such cases (#1952) 2024-08-26 16:21:45 +02:00
vulkan_handles.hpp Update Vulkan-Headers to v1.3.295 (#1954) 2024-09-02 12:39:56 +02:00
vulkan_hash.hpp Update Vulkan-Headers to v1.3.295 (#1954) 2024-09-02 12:39:56 +02:00
vulkan_hpp_macros.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkan_raii.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkan_shared.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkan_static_assertions.hpp Update Vulkan-Headers to v1.3.295 (#1954) 2024-09-02 12:39:56 +02:00
vulkan_structs.hpp Update Vulkan-Headers to v1.3.295 (#1954) 2024-09-02 12:39:56 +02:00
vulkan_to_string.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkan_video.hpp add missing include files in vulkan_video.hpp (#1795) 2024-02-06 21:10:30 +01:00
vulkan.cppm Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkan.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc_enums.hpp Mark deprecated enum values as deprecated (#1955) 2024-09-03 08:53:36 +02:00
vulkansc_extension_inspection.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc_format_traits.hpp Update Vulkan-Headers to v1.3.275 (#1768) 2024-01-08 10:21:39 +01:00
vulkansc_funcs.hpp Add IWYU pragmas to let code-completers use vulkan.hpp. (#1939) 2024-08-07 15:04:06 +02:00
vulkansc_handles.hpp Add IWYU pragmas to let code-completers use vulkan.hpp. (#1939) 2024-08-07 15:04:06 +02:00
vulkansc_hash.hpp Update Vulkan-Headers to v1.3.289 (#1912) 2024-07-01 14:11:05 +02:00
vulkansc_hpp_macros.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc_raii.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc_shared.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc_static_assertions.hpp Update Vulkan-Headers to v1.3.289 (#1912) 2024-07-01 14:11:05 +02:00
vulkansc_structs.hpp Add IWYU pragmas to let code-completers use vulkan.hpp. (#1939) 2024-08-07 15:04:06 +02:00
vulkansc_to_string.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc.cppm Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00
vulkansc.hpp Use import std; guarded by macro (#1932) 2024-09-05 08:48:19 +02:00