Skip to content

Commit 5d660a4

Browse files
committed
refactor
1 parent 736bcab commit 5d660a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+3859
-6753
lines changed

docs/codes/03/40_instancedrendering/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_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

1212
project(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
2020
find_package(Vulkan REQUIRED)
@@ -39,6 +39,6 @@ target_link_libraries(${PROJECT_NAME} PRIVATE tinyobjloader::tinyobjloader)
3939
#################################################################################
4040

4141
#################################################################################
42-
#### shaders
42+
#### shader compilation
4343
add_subdirectory(shaders)
4444
#################################################################################

0 commit comments

Comments
 (0)