We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8fccc commit 4001795Copy full SHA for 4001795
1 file changed
native/windows/vcvars64.bat
@@ -1,8 +1,6 @@
1
@echo off
2
echo Microsoft Visual C++ 2026 compiler setup
3
4
-if not "%VCVER%"=="" goto end
5
-
6
SET VCTYPE=Community
7
SET VCYEAR=18
8
SET VCVER=14.50.35717
@@ -17,6 +15,8 @@ echo WINVER=%WINVER%
17
15
18
16
if "%1"=="detect" goto detect
19
+if not "%VisualStudioVersion%"=="" goto end
+
20
::vcpkg
21
set VCPKG_DEFAULT_TRIPLET=x64-windows
22
::set VCPKG=c:\program files\vcpkg
@@ -69,7 +69,9 @@ set Platform=x64
69
goto end
70
71
:detect
72
-dir "%MSVS%\%VCYEAR%\%VCTYPE%\VC\Tools\MSVC\"
73
-dir "%MSSDK%\10\bin\"
+echo Detecting MS VC Tools Versions...
+dir /b "%MSVS%\%VCYEAR%\%VCTYPE%\VC\Tools\MSVC\"
74
+echo Detecting MS SDK Versions...
75
+dir /b "%MSSDK%\10\bin\"
76
77
:end
0 commit comments