Bootstrap.bat: Add vs2022 support

This commit is contained in:
Bruno Camargo 2021-10-12 20:29:11 -03:00
parent b73d56a9a8
commit 9c0bf5a860

View File

@ -33,6 +33,9 @@ IF "%vsversion%" == "vs2010" (
) ELSE IF "%vsversion%" == "vs2019" ( ) ELSE IF "%vsversion%" == "vs2019" (
CALL :VsWhereVisualBootstrap "%vsversion%" "16.0" "17.0" CALL :VsWhereVisualBootstrap "%vsversion%" "16.0" "17.0"
) ELSE IF "%vsversion%" == "vs2022" (
CALL :VsWhereVisualBootstrap "%vsversion%" "17.0" "18.0"
) ELSE ( ) ELSE (
ECHO Unrecognized Visual Studio version %vsversion% ECHO Unrecognized Visual Studio version %vsversion%
EXIT /B 2 EXIT /B 2