From 1ff1a7af04a804d84a360ec1a3d8634007ae9ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Tue, 24 Oct 2023 15:45:41 +0200 Subject: [PATCH] speed up cl builds --- MAKE.bat | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MAKE.bat b/MAKE.bat index 5e1e3f6..8fd67ca 100644 --- a/MAKE.bat +++ b/MAKE.bat @@ -504,9 +504,7 @@ rem detect setup if "!cc!"=="" ( set cc=cl where cl /q - if %ERRORLEVEL%==0 ( - rem Do nothing. - ) else ( + if not %ERRORLEVEL%==0 ( echo Detecting VS 2022/2019/2017/2015/2013 x64 ... if exist "%VS170COMNTOOLS%/../../VC/Auxiliary/Build/vcvarsx86_amd64.bat" ( @call "%VS170COMNTOOLS%/../../VC/Auxiliary/Build/vcvarsx86_amd64.bat" > nul && set "vs=22"