Set Version Tag / set-version-tag (push) Has been cancelledDetails
* Do not export-import `std` as a macro
* Move warning expansion to macros file, and create a macro for it
- Also remove macro for `std.compat` and hardcode it
* Remove `VULKAN_HPP_ENABLE_STD_MODULE` macro; unconditionally use `import std;`
* Emit compile-time warning about experimental state for module
* Refactor `#include` guard to use `VULKAN_HPP_CXX_MODULE` for all headers
* Group global namespace exports into block
* Simplify CMake setup for modules
- Raise minimum version to 3.22 (this is what we have in CI)
- Remove duplicated options
- Set up a single option that depends on magic `__CMAKE::CXX23` target; defaults to OFF unless magic UUID set (or future CMake version supports)
* Rebase changes
* Guard C++ module warning with compile-time flag
* Fix macro guard for experimental warning
* Force `<vulkan/vulkan_hpp_macros.hpp>` at the top of includes list
* fix std import on enum header
* remove duplicate contents in cppm
* moved dynamic enabling of std module into macro header
* do not automatically enable import std
* automatic opt-out approach for export import std
* added opt-out option VULKAN_HPP_NO_STD_MODULE
* add VULKAN_HPP_NO_STD_MODULE to CI workflows
* added VULKAN_HPP_NO_STD_MODULE flag to the readme
* set VULKAN_HPP_NO_STD_MODULE to OFF by default
* added import_std exclusion to ubuntu-ext CI
* 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
* Fix for VULKAN_HPP_TYPESAFE_CONVERSION defined to 0
* Remove the check if VULKAN_HPP_TYPESAFE_CONVERSION actually is defined, just check if it's 1.
---------
Co-authored-by: asuessenbach <asuessenbach@nvidia.com>
* Make C++20 modules work with the defaultDispatchLoaderDynamic.
* Add vulkan_hpp_macros.hpp to list of installed files.
* Adjust the text on module in the readme.
* Rename module from vulkan to vulkan_hpp
* Adjust some comments.
* Add a little disclaimer to vulkan.cppm.