From dcaccdabc9d6e7a34b4fb99a7fb5849848ff4709 Mon Sep 17 00:00:00 2001 From: HO-COOH Date: Sat, 19 Sep 2026 12:19:51 +0800 Subject: [PATCH] Update all C++ project to use C++20. Enable MIDL multi-threaded compilation --- .../WindowsApplication/WindowsApplication.vcxproj | 2 ++ .../VC/Windows Universal/BlankApp/BlankApp.vcxproj | 2 ++ .../VC/Windows Universal/CoreApp/CoreApp.vcxproj | 2 ++ .../WindowsRuntimeComponent/WindowsRuntimeComponent.vcxproj | 2 ++ 4 files changed, 8 insertions(+) diff --git a/vsix/ProjectTemplates/VC/Windows Desktop/WindowsApplication/WindowsApplication.vcxproj b/vsix/ProjectTemplates/VC/Windows Desktop/WindowsApplication/WindowsApplication.vcxproj index e4a05cdc7..5ead859f8 100644 --- a/vsix/ProjectTemplates/VC/Windows Desktop/WindowsApplication/WindowsApplication.vcxproj +++ b/vsix/ProjectTemplates/VC/Windows Desktop/WindowsApplication/WindowsApplication.vcxproj @@ -5,6 +5,7 @@ true true true + true 15.0 {$guid1$} Win32Proj @@ -65,6 +66,7 @@ Use pch.h $(IntDir)pch.pch + stdcpp20 _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) Level4 true diff --git a/vsix/ProjectTemplates/VC/Windows Universal/BlankApp/BlankApp.vcxproj b/vsix/ProjectTemplates/VC/Windows Universal/BlankApp/BlankApp.vcxproj index ae3d074f2..c4de0d823 100644 --- a/vsix/ProjectTemplates/VC/Windows Universal/BlankApp/BlankApp.vcxproj +++ b/vsix/ProjectTemplates/VC/Windows Universal/BlankApp/BlankApp.vcxproj @@ -5,6 +5,7 @@ true true true + true {$guid1$} $projectname$ $safeprojectname$ @@ -75,6 +76,7 @@ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 true %(AdditionalOptions) /bigobj diff --git a/vsix/ProjectTemplates/VC/Windows Universal/CoreApp/CoreApp.vcxproj b/vsix/ProjectTemplates/VC/Windows Universal/CoreApp/CoreApp.vcxproj index 2d891ef11..a39d94956 100644 --- a/vsix/ProjectTemplates/VC/Windows Universal/CoreApp/CoreApp.vcxproj +++ b/vsix/ProjectTemplates/VC/Windows Universal/CoreApp/CoreApp.vcxproj @@ -4,6 +4,7 @@ true true true + true {$guid1$} $projectname$ $safeprojectname$ @@ -74,6 +75,7 @@ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 true %(AdditionalOptions) /bigobj diff --git a/vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/WindowsRuntimeComponent.vcxproj b/vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/WindowsRuntimeComponent.vcxproj index da87bf2fb..3156240ea 100644 --- a/vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/WindowsRuntimeComponent.vcxproj +++ b/vsix/ProjectTemplates/VC/Windows Universal/WindowsRuntimeComponent/WindowsRuntimeComponent.vcxproj @@ -5,6 +5,7 @@ true true true + true {$guid1$} $projectname$ $safeprojectname$ @@ -79,6 +80,7 @@ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 true %(AdditionalOptions) /bigobj