11cmake_minimum_required (VERSION 4.0.0)
22
33#################################################################################
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.
55# You can also set it up by default through the CMakePresets.json file
66# requires the VCPKG_ROOT environment variable
77# 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")
1111
1212project (HelloVulkan LANGUAGES CXX)
1313
14- set (CMAKE_CXX_STANDARD 20 )
14+ set (CMAKE_CXX_STANDARD 23 )
1515
1616#################################################################################
17- #### Search for Vulkan package.
17+ #### Search for Vulkan package.
1818# CMake provides FindVulkan support, but requires the VULKAN_SDK environment variable
1919# Setting by default during Vulkan SDK installation, such as E: \ Vulkan \ 1.4.309.0
2020find_package (Vulkan REQUIRED)
@@ -39,6 +39,6 @@ target_link_libraries(${PROJECT_NAME} PRIVATE tinyobjloader::tinyobjloader)
3939#################################################################################
4040
4141#################################################################################
42- #### shaders
42+ #### shader compilation
4343add_subdirectory (shaders)
4444#################################################################################
0 commit comments