1
1
cmake_minimum_required (VERSION 4.0.0 )
2
2
3
3
#################################################################################
4
- #### Set up the vcpkg toolchain, which must be done before the project() function.
4
+ #### Set up the vcpkg toolchain, which must be done before the project() function.
5
5
# You can also set it up by default through the CMakePresets.json file
6
6
# requires the VCPKG_ROOT environment variable
7
7
# The TO_CMAKE_PATH here is used to convert back slashes to forward slashes
@@ -11,10 +11,10 @@ set(CMAKE_TOOLCHAIN_FILE "${VCPKG_CMAKE_PATH}/scripts/buildsystems/vcpkg.cmake")
11
11
12
12
project (HelloVulkan LANGUAGES CXX )
13
13
14
- set (CMAKE_CXX_STANDARD 20 )
14
+ set (CMAKE_CXX_STANDARD 23 )
15
15
16
16
#################################################################################
17
- #### Search for Vulkan package.
17
+ #### Search for Vulkan package.
18
18
# CMake provides FindVulkan support, but requires the VULKAN_SDK environment variable
19
19
# Setting by default during Vulkan SDK installation, such as E: \ Vulkan \ 1.4.309.0
20
20
find_package (Vulkan REQUIRED )
@@ -39,6 +39,6 @@ target_link_libraries(${PROJECT_NAME} PRIVATE tinyobjloader::tinyobjloader)
39
39
#################################################################################
40
40
41
41
#################################################################################
42
- #### shaders
42
+ #### shader compilation
43
43
add_subdirectory (shaders )
44
44
#################################################################################
0 commit comments