mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-27 16:02:37 +00:00
remove Vulkan SDK usage
This commit is contained in:
1 parent
cbc11d2eaf
commit
39c379ff21
3 files changed
+7
-3
No files matched your search
Vendored
+6
@@ -5,6 +5,12 @@ add_subdirectory(cpuinfo)
|
|||||||
set(SDL_SHARED OFF CACHE BOOL "" FORCE)
|
set(SDL_SHARED OFF CACHE BOOL "" FORCE)
|
||||||
add_subdirectory(SDL2)
|
add_subdirectory(SDL2)
|
||||||
|
|
||||||
|
add_library(Vulkan-Headers INTERFACE)
|
||||||
|
add_library(Vulkan::Headers ALIAS Vulkan-Headers)
|
||||||
|
target_include_directories(Vulkan-Headers INTERFACE
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/Vulkan-Headers/include"
|
||||||
|
)
|
||||||
|
|
||||||
set(SPIRV_SKIP_TESTS ON CACHE BOOL "" FORCE)
|
set(SPIRV_SKIP_TESTS ON CACHE BOOL "" FORCE)
|
||||||
set(SPIRV_SKIP_EXECUTABLES ON CACHE BOOL "" FORCE)
|
set(SPIRV_SKIP_EXECUTABLES ON CACHE BOOL "" FORCE)
|
||||||
set(SKIP_SPIRV_TOOLS_INSTALL ON CACHE BOOL "" FORCE)
|
set(SKIP_SPIRV_TOOLS_INSTALL ON CACHE BOOL "" FORCE)
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ the Vulkan/SPIR-V validation rules.
|
|||||||
- Visual Studio 2022 or Build Tools 2022 with the **Desktop development with C++** workload and
|
- Visual Studio 2022 or Build Tools 2022 with the **Desktop development with C++** workload and
|
||||||
**C++ Clang tools for Windows** component
|
**C++ Clang tools for Windows** component
|
||||||
- Qt 6 for MSVC 2022 64-bit, including Concurrent, Network, and Widgets
|
- Qt 6 for MSVC 2022 64-bit, including Concurrent, Network, and Widgets
|
||||||
- Vulkan SDK 1.3 or newer
|
|
||||||
|
|
||||||
The Microsoft C++ compiler (`cl.exe`) is not supported; use `clang-cl`.
|
The Microsoft C++ compiler (`cl.exe`) is not supported; use `clang-cl`.
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -180,12 +180,11 @@ if (KYTY_CLANG_CL)
|
|||||||
set_source_files_properties(${kyty_emulator_src} PROPERTIES COMPILE_FLAGS "-Wno-pragma-pack -Wno-deprecated-declarations -D_TIMESPEC_DEFINED")
|
set_source_files_properties(${kyty_emulator_src} PROPERTIES COMPILE_FLAGS "-Wno-pragma-pack -Wno-deprecated-declarations -D_TIMESPEC_DEFINED")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(kyty_emulator_link_libraries common spirv-tools-opt spirv-tools SDL2-static xxhash FFmpeg::ffmpeg fmt::fmt nlohmann_json::nlohmann_json LibAtrac9)
|
set(kyty_emulator_link_libraries common Vulkan::Headers spirv-tools-opt spirv-tools SDL2-static xxhash FFmpeg::ffmpeg fmt::fmt nlohmann_json::nlohmann_json LibAtrac9)
|
||||||
|
|
||||||
set(inc_headers
|
set(inc_headers
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
${KYTY_THIRD_PARTY_DIR}/SDL2/include
|
${KYTY_THIRD_PARTY_DIR}/SDL2/include
|
||||||
${KYTY_THIRD_PARTY_DIR}/Vulkan-Headers/include
|
|
||||||
${KYTY_THIRD_PARTY_DIR}/VulkanMemoryAllocator/include
|
${KYTY_THIRD_PARTY_DIR}/VulkanMemoryAllocator/include
|
||||||
${KYTY_THIRD_PARTY_DIR}/SPIRV-Tools/include
|
${KYTY_THIRD_PARTY_DIR}/SPIRV-Tools/include
|
||||||
${KYTY_THIRD_PARTY_DIR}/fmt/include
|
${KYTY_THIRD_PARTY_DIR}/fmt/include
|
||||||
|
|||||||
Reference in new issue
Block a user