编写完顶点渲染程序,先保存一下
This commit is contained in:
+2
-5
@@ -100,15 +100,12 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR WIN32)
|
||||
third_party/vma/src/VmaUsage.h
|
||||
third_party/vma/src/VmaUsage.cpp
|
||||
third_party/fmt/src/format.cc
|
||||
vulkan/framework/common/error.cpp
|
||||
vulkan/framework/common/strings.cpp
|
||||
vulkan/framework/core/allocated.cpp
|
||||
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
target_compile_definitions(sample PRIVATE VK_NO_PROTOTYPES)
|
||||
# target_compile_definitions(sample PRIVATE VK_NO_PROTOTYPES) 使用volk 动态加载的时候需要定义,不自动生成vulkan接口
|
||||
target_compile_definitions(sample PRIVATE GLM_ENABLE_EXPERIMENTAL)
|
||||
target_compile_definitions(sample PRIVATE VULKAN_HPP_NO_STRUCT_CONSTRUCTORS)
|
||||
# target_compile_definitions(sample PRIVATE VULKAN_HPP_NO_STRUCT_CONSTRUCTORS) 解决vs 编译c++ 20 不支持新构造函数的特性
|
||||
|
||||
|
||||
Reference in New Issue
Block a user