Skip to content

Commit af87282

Browse files
committed
Rename BuildBin.vs2022 to BuildBin.cmd
1 parent 0b5e11c commit af87282

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ del /s BuildTmp\*.res
44
del gen-versioninfo.h
55

66
setlocal
7-
for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -version [17.0^,18.0^) -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
7+
for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
88
set InstallDir=%%i
99
)
1010
if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
@@ -14,7 +14,6 @@ if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
1414
if "%1" == "" (
1515
call :BuildBin x86 || goto :eof
1616
call :BuildBin x64 || goto :eof
17-
call :BuildBin ARM || goto :eof
1817
call :BuildBin ARM64 || goto :eof
1918
) else (
2019
call :BuildBin %1 || goto :eof

0 commit comments

Comments
 (0)