File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ target_link_libraries(vk_hpp PRIVATE Vulkan::Headers)
8686# vulkan.cppm
8787if (VULKAN_HEADERS_ENABLE_MODULE)
8888 add_library (vk_hpp_module MODULE ../vk_hpp_module.cpp)
89- target_compile_features (vk_hpp_module PUBLIC cxx_std_20)
9089 set_target_properties (vk_hpp_module PROPERTIES CXX_SCAN_FOR_MODULES ON )
9190 target_link_libraries (vk_hpp_module PRIVATE Vulkan::HppModule)
9291endif ()
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 The Khronos Group Inc.
3+ * Copyright 2025 Valve Corporation
4+ * Copyright 2025 LunarG, Inc.
5+ *
6+ * SPDX-License-Identifier: Apache-2.0
7+ */
18#include < vulkan/vulkan.hpp>
29
3- int square ( int i )
10+ int header_version ( )
411{
5- return i * i ;
12+ return VK_HEADER_VERSION ;
613}
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 The Khronos Group Inc.
3+ * Copyright 2025 Valve Corporation
4+ * Copyright 2025 LunarG, Inc.
5+ *
6+ * SPDX-License-Identifier: Apache-2.0
7+ */
18import vulkan_hpp;
29
3- int square ( int i )
10+ int header_version ( )
411{
5- return i * i ;
12+ return VK_HEADER_VERSION ;
613}
You can’t perform that action at this time.
0 commit comments