speed up cl builds
parent
67b610d398
commit
1ff1a7af04
4
MAKE.bat
4
MAKE.bat
|
@ -504,9 +504,7 @@ rem detect setup
|
||||||
if "!cc!"=="" (
|
if "!cc!"=="" (
|
||||||
set cc=cl
|
set cc=cl
|
||||||
where cl /q
|
where cl /q
|
||||||
if %ERRORLEVEL%==0 (
|
if not %ERRORLEVEL%==0 (
|
||||||
rem Do nothing.
|
|
||||||
) else (
|
|
||||||
echo Detecting VS 2022/2019/2017/2015/2013 x64 ...
|
echo Detecting VS 2022/2019/2017/2015/2013 x64 ...
|
||||||
if exist "%VS170COMNTOOLS%/../../VC/Auxiliary/Build/vcvarsx86_amd64.bat" (
|
if exist "%VS170COMNTOOLS%/../../VC/Auxiliary/Build/vcvarsx86_amd64.bat" (
|
||||||
@call "%VS170COMNTOOLS%/../../VC/Auxiliary/Build/vcvarsx86_amd64.bat" > nul && set "vs=22"
|
@call "%VS170COMNTOOLS%/../../VC/Auxiliary/Build/vcvarsx86_amd64.bat" > nul && set "vs=22"
|
||||||
|
|
Loading…
Reference in New Issue