Fossil SCM

Update buildmsvc.bat after testing successful compilation with the Visual Studio 2022 toolchain.

danield 2021-12-29 00:49 trunk
Commit 2ed7465cf74af8a47e82ae106379414cfff90b697caa5302a22c267309960f00
1 file changed +4 -4
--- win/buildmsvc.bat
+++ win/buildmsvc.bat
@@ -46,17 +46,17 @@
4646
%_AECHO% Build environment batch file manually overridden to "%VSVARS32%"...
4747
GOTO skip_detectVisualStudio
4848
)
4949
5050
REM
51
-REM Visual Studio 2017 / 2019
51
+REM Visual Studio 2017 / 2019 / 2022
5252
REM
5353
CALL :fn_TryUseVsWhereExe
5454
IF NOT DEFINED VSWHEREINSTALLDIR GOTO skip_detectVisualStudio2017
5555
SET VSVARS32=%VSWHEREINSTALLDIR%\Common7\Tools\VsDevCmd.bat
5656
IF EXIST "%VSVARS32%" (
57
- %_AECHO% Using Visual Studio 2017 / 2019...
57
+ %_AECHO% Using Visual Studio 2017 / 2019 / 2022...
5858
GOTO skip_detectVisualStudio
5959
)
6060
:skip_detectVisualStudio2017
6161
6262
REM
@@ -376,14 +376,14 @@
376376
)
377377
FOR /F "delims=" %%D IN ('%VS_WHEREIS_CMD%') DO (SET VSWHEREINSTALLDIR=%%D)
378378
:skip_setVsWhereInstallDir
379379
%_VECHO% VsWhereInstallDir = '%VSWHEREINSTALLDIR%'
380380
IF NOT DEFINED VSWHEREINSTALLDIR (
381
- %_AECHO% Visual Studio 2017 / 2019 is not installed.
381
+ %_AECHO% Visual Studio 2017 / 2019 / 2022 is not installed.
382382
GOTO :EOF
383383
)
384
- %_AECHO% Visual Studio 2017 / 2019 is installed.
384
+ %_AECHO% Visual Studio 2017 / 2019 / 2022 is installed.
385385
GOTO :EOF
386386
387387
:usage
388388
ECHO.
389389
ECHO Usage: %~nx0 [...]
390390
--- win/buildmsvc.bat
+++ win/buildmsvc.bat
@@ -46,17 +46,17 @@
46 %_AECHO% Build environment batch file manually overridden to "%VSVARS32%"...
47 GOTO skip_detectVisualStudio
48 )
49
50 REM
51 REM Visual Studio 2017 / 2019
52 REM
53 CALL :fn_TryUseVsWhereExe
54 IF NOT DEFINED VSWHEREINSTALLDIR GOTO skip_detectVisualStudio2017
55 SET VSVARS32=%VSWHEREINSTALLDIR%\Common7\Tools\VsDevCmd.bat
56 IF EXIST "%VSVARS32%" (
57 %_AECHO% Using Visual Studio 2017 / 2019...
58 GOTO skip_detectVisualStudio
59 )
60 :skip_detectVisualStudio2017
61
62 REM
@@ -376,14 +376,14 @@
376 )
377 FOR /F "delims=" %%D IN ('%VS_WHEREIS_CMD%') DO (SET VSWHEREINSTALLDIR=%%D)
378 :skip_setVsWhereInstallDir
379 %_VECHO% VsWhereInstallDir = '%VSWHEREINSTALLDIR%'
380 IF NOT DEFINED VSWHEREINSTALLDIR (
381 %_AECHO% Visual Studio 2017 / 2019 is not installed.
382 GOTO :EOF
383 )
384 %_AECHO% Visual Studio 2017 / 2019 is installed.
385 GOTO :EOF
386
387 :usage
388 ECHO.
389 ECHO Usage: %~nx0 [...]
390
--- win/buildmsvc.bat
+++ win/buildmsvc.bat
@@ -46,17 +46,17 @@
46 %_AECHO% Build environment batch file manually overridden to "%VSVARS32%"...
47 GOTO skip_detectVisualStudio
48 )
49
50 REM
51 REM Visual Studio 2017 / 2019 / 2022
52 REM
53 CALL :fn_TryUseVsWhereExe
54 IF NOT DEFINED VSWHEREINSTALLDIR GOTO skip_detectVisualStudio2017
55 SET VSVARS32=%VSWHEREINSTALLDIR%\Common7\Tools\VsDevCmd.bat
56 IF EXIST "%VSVARS32%" (
57 %_AECHO% Using Visual Studio 2017 / 2019 / 2022...
58 GOTO skip_detectVisualStudio
59 )
60 :skip_detectVisualStudio2017
61
62 REM
@@ -376,14 +376,14 @@
376 )
377 FOR /F "delims=" %%D IN ('%VS_WHEREIS_CMD%') DO (SET VSWHEREINSTALLDIR=%%D)
378 :skip_setVsWhereInstallDir
379 %_VECHO% VsWhereInstallDir = '%VSWHEREINSTALLDIR%'
380 IF NOT DEFINED VSWHEREINSTALLDIR (
381 %_AECHO% Visual Studio 2017 / 2019 / 2022 is not installed.
382 GOTO :EOF
383 )
384 %_AECHO% Visual Studio 2017 / 2019 / 2022 is installed.
385 GOTO :EOF
386
387 :usage
388 ECHO.
389 ECHO Usage: %~nx0 [...]
390

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button