rmdir doesn't set errorlevel but mkdir does and can be used to check for errors up to that point...to a point

This commit is contained in:
walker0643 2018-02-06 17:13:35 -05:00
parent 6cb65ebf05
commit e93b203b87
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ if exist winbuild_env.bat call winbuild_env.bat
rmdir /q /s build rmdir /q /s build
mkdir build mkdir build
if ERRORLEVEL 1 goto failed
cd build cd build
cmake -G "Visual Studio 15 2017 Win64" -D CMAKE_BUILD_TYPE=%B_BUILD_TYPE% -D CMAKE_PREFIX_PATH="%B_QT_ROOT%" -D DNSSD_LIB="%B_BONJOUR%\Lib\x64\dnssd.lib" .. cmake -G "Visual Studio 15 2017 Win64" -D CMAKE_BUILD_TYPE=%B_BUILD_TYPE% -D CMAKE_PREFIX_PATH="%B_QT_ROOT%" -D DNSSD_LIB="%B_BONJOUR%\Lib\x64\dnssd.lib" ..
if ERRORLEVEL 1 goto failed if ERRORLEVEL 1 goto failed
echo @msbuild barrier.sln /p:Platform="x64" /p:Configuration=%B_BUILD_TYPE% /m > make.bat echo @msbuild barrier.sln /p:Platform="x64" /p:Configuration=%B_BUILD_TYPE% /m > make.bat
REM echo @if errorlevel 1 exit 1 >> make.bat
call make.bat call make.bat
if ERRORLEVEL 1 goto failed if ERRORLEVEL 1 goto failed
if exist bin\Debug ( if exist bin\Debug (
@ -55,4 +55,4 @@ set B_QT_ROOT=
set B_BONJOUR= set B_BONJOUR=
cd /d %savedir% cd /d %savedir%
set savedir= set savedir=