File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed
Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ @ echo off
2+
3+ set VC_ROOT = %ProgramFiles% \Microsoft Visual Studio\18
4+
5+ if exist " %VC_ROOT% \Professional\VC\Auxiliary\Build\vcvarsall.bat" goto UseVcProfessional
6+ if exist " %VC_ROOT% \Community\VC\Auxiliary\Build\vcvarsall.bat" goto UseVcCommunity
7+
8+ goto ErrorNoVcVarsAll
9+
10+ :UseVcProfessional
11+ call " %VC_ROOT% \Professional\VC\Auxiliary\Build\vcvarsall.bat" x86
12+ goto Building
13+
14+ :UseVcCommunity
15+ call " %VC_ROOT% \Community\VC\Auxiliary\Build\vcvarsall.bat" x86
16+ goto Building
17+
18+ :Building
19+ cd .\NppExec
20+ msbuild NppExec_VC2026.sln /t:Clean /p:Configuration=Release;Platform=Win32 /m:2
21+ msbuild NppExec_VC2026.sln /t:Build /p:Configuration=Release;Platform=Win32 /m:2
22+ goto End
23+
24+ :ErrorNoVcVarsAll
25+ echo ERROR: Could not find " vcvarsall.bat"
26+ goto End
27+
28+ :End
Original file line number Diff line number Diff line change 1+ @ echo off
2+
3+ set VC_ROOT = %ProgramFiles% \Microsoft Visual Studio\18
4+
5+ if exist " %VC_ROOT% \Professional\VC\Auxiliary\Build\vcvarsall.bat" goto UseVcProfessional
6+ if exist " %VC_ROOT% \Community\VC\Auxiliary\Build\vcvarsall.bat" goto UseVcCommunity
7+
8+ goto ErrorNoVcVarsAll
9+
10+ :UseVcProfessional
11+ call " %VC_ROOT% \Professional\VC\Auxiliary\Build\vcvarsall.bat" x64
12+ goto Building
13+
14+ :UseVcCommunity
15+ call " %VC_ROOT% \Community\VC\Auxiliary\Build\vcvarsall.bat" x64
16+ goto Building
17+
18+ :Building
19+ cd .\NppExec
20+ msbuild NppExec_VC2026.sln /t:Clean /p:Configuration=Release;Platform=x64 /m:2
21+ msbuild NppExec_VC2026.sln /t:Build /p:Configuration=Release;Platform=x64 /m:2
22+ goto End
23+
24+ :ErrorNoVcVarsAll
25+ echo ERROR: Could not find " vcvarsall.bat"
26+ goto End
27+
28+ :End
You can’t perform that action at this time.
0 commit comments