Commit Graph

15 Commits

Author SHA1 Message Date
Andreas Süßenbach fda19f0bb3
Extend test DesignatedInitializers to use a struct with deprectated members. (#2305) 2025-09-30 10:45:07 +02:00
Jan Kuhlmann 7fcd4522e0
Tests: Created std module versions of each test and enabled previously disabled tests (#2248)
* move vulkan module setup function to global scope

* use the vulkan include setup func for module setups instead of manual linking

* test setup function extended to allow for modules

* create std module variant for each test

* remove the obsolete NO_UTILS from test setup

* commented some TODOs

* only enable module tests when VULKAN_HPP_ENABLE_CPP20_MODULES is set

* reenable handles.cpp test

* remove use nested namespaces

* include array header for ArrayProxyNoTemporaries test

* include <compare> in enums for spaceship operator

* manually added <compare> to Flags.cpp test

* properly guarded <string_view> with c++17 requirement
2025-08-14 15:40:20 +02:00
Andreas Süßenbach 167bb6afe0
Remove outdated flag VULKAN_HPP_TESTS_BUILD_ONLY_DYNAMIC (#2228) 2025-07-24 19:26:03 +02:00
Andreas Süßenbach ed3cf7ac51
Move all the dispatcher related classes into namespace detail (#1983) 2024-10-29 08:13:51 +01:00
Andreas Süßenbach 40e76b7c24
Cleanup in CMakeLists.txt (#1572) 2023-05-08 11:54:57 +02:00
Andreas Süßenbach e1d6ec8abf
Cleanup up on CMakeLists.txt (#1564) 2023-04-20 16:50:26 +02:00
Andreas Süßenbach bf8bee64e1
Mark all projects as C++-only. (#1554) 2023-04-05 09:50:26 +02:00
asuessenbach 5480d192f5 Refactor the CMakeLists for all the samples; use vulkan.hpp/vulkan_raii.hpp as precompiled header. 2022-08-10 15:29:28 +02:00
Jinesi Yelizati 9748e47228
Speed up CI by using ninja and parallel build (#1347)
* chore(CI): speed up CI by using ninja and parallel build

* chore(CI): align compiler for c and cxx

* fix(samples): add dependency to generator

* fix(cmake): get rid of file glob

* chore(CI): use clang on mac

glfw don't support gcc on mac

* fix(sample): add depencency on build_vulkan_hpp

* fix(cmake): make sure every target in tests and samples link to utils
2022-07-07 10:22:21 +02:00
asuessenbach a104fd65d3 Combine two types of commands into one generation function. 2022-03-16 13:51:43 +01:00
asuessenbach 5fe410279a Change ColumnLimit with clang-format from 120 to 160. 2022-02-28 10:11:04 +01:00
asuessenbach 13bdb2ff69 Introducde getDispatchLoaderStatic() to prevent dangling pointers in debug builds 2021-09-08 13:38:56 +02:00
asuessenbach fe846ff445 Extendend test on designated initializers 2021-03-22 10:24:07 +01:00
Markus Tavenrath 160dc916f9 Change structure member sType to non-const to allow default assignment operator. Make copy constructor and copy assignment default. The latter is required for C++20 designated initializers. Delegate the constructor from C-type to the copy constructor by casting rhs accordingly. Fix warnings on gcc/clang. 2021-01-18 12:25:50 +01:00
asuessenbach db58507063 Introduce VULKAN_HPP_NO_STRUCT_CONSTRUCTORS so support designated initializers.
You have to define VULKAN_HPP_NO_STRUCT_CONSTRUCTORS to remove all the struct constructors from vulkan.hpp, so that you can use designated initializers on them.
Of course, makes only sense with C++20.
2020-06-24 11:28:43 +02:00