1 2 3 4 5 | IF NOT DEFINED vcvars_set ( call "D:\Program Files\Visual Studio Community\VC\Auxiliary\Build\vcvars64.bat" set vcvars_set=1 ) REM whatever else... |
However, whenever I build (even without closing the compilation panel), each time vcvars64.bat gets called.
If I manually call build.bat from an external shell like cmd, no such thing happens: vcvars64.bat is called only the first time.