video_core: Suppress MSVC warnings for VulkanMemoryAllocator

- Add citron copyright header
- Disable compiler warnings for vulkan_common/vma.cpp on MSVC builds
  to prevent third-party VMA library warnings from cluttering build output

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-06-16 17:22:29 +10:00
parent 08a5d2b4d4
commit 4aee8c6709

View File

@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2018 yuzu Emulator Project
# SPDX-FileCopyrightText: 2025 citron Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
add_subdirectory(host_shaders)
@@ -348,6 +349,9 @@ if (MSVC)
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
/we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data
)
# VMA - Disable warnings for VulkanMemoryAllocator source file
set_source_files_properties(vulkan_common/vma.cpp PROPERTIES COMPILE_OPTIONS "/w")
else()
if (APPLE)
# error: declaration shadows a typedef in 'interval_base_set<SubType, DomainT, Compare, Interval, Alloc>'