From a97ee4aab16cd46c8466ea89c99a437d27be6491 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Tue, 3 Mar 2026 17:45:25 +0800 Subject: [PATCH] chore: sync VS Release warning-disable setting into CMake --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e40e5db..977bce2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,8 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") function(configure_msvc_target target) target_compile_options(${target} PRIVATE - $<$:/W3> + $<$>,$>:/W3> + $<$,$>:/W0> $<$:/MP> $<$:/EHsc> $<$,$>:/GL /O2 /Ob3 /Oi /GT /GF>