From 93cf3f3eacfed6a4d0a2c30d5445b53b2599db3c Mon Sep 17 00:00:00 2001
From: Kohki Akikaze <67105596+kazasaku@users.noreply.github.com>
Date: Fri, 7 Jan 2022 13:03:57 +0900
Subject: [PATCH] =?UTF-8?q?"Visual=20Studio=202022"=E3=82=92=E4=BD=BF?=
=?UTF-8?q?=E7=94=A8=E3=81=97=E3=81=9F=E3=83=93=E3=83=AB=E3=83=89=E3=81=AB?=
=?UTF-8?q?=E5=AF=BE=E5=BF=9C=E3=81=99=E3=82=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
tools/find-tools.bat | 4 ++++
vcx-props/vcxcompat.props | 6 ++++++
2 files changed, 10 insertions(+)
diff --git a/tools/find-tools.bat b/tools/find-tools.bat
index f490f10e5b..b68b285987 100644
--- a/tools/find-tools.bat
+++ b/tools/find-tools.bat
@@ -167,6 +167,8 @@ exit /b
set NUM_VSVERSION=15
) else if "%ARG_VSVERSION%" == "2019" (
set NUM_VSVERSION=16
+ ) else if "%ARG_VSVERSION%" == "2022" (
+ set NUM_VSVERSION=17
) else if "%ARG_VSVERSION%" == "latest" (
call :check_latest_installed_vsversion
) else (
@@ -185,6 +187,8 @@ exit /b
set CMAKE_G_PARAM=Visual Studio 15 2017
) else if "%NUM_VSVERSION%" == "16" (
set CMAKE_G_PARAM=Visual Studio 16 2019
+ ) else if "%NUM_VSVERSION%" == "17" (
+ set CMAKE_G_PARAM=Visual Studio 17 2022
) else (
call :set_cmake_gparam_automatically
)
diff --git a/vcx-props/vcxcompat.props b/vcx-props/vcxcompat.props
index d83904fe00..1f8527903f 100644
--- a/vcx-props/vcxcompat.props
+++ b/vcx-props/vcxcompat.props
@@ -6,10 +6,16 @@
10.0
+
+ 10.0
+
v141
v142
+
+ v143
+