mirror of https://github.com/debauchee/barrier.git
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:
parent
6cb65ebf05
commit
e93b203b87
|
@ -15,11 +15,11 @@ if exist winbuild_env.bat call winbuild_env.bat
|
|||
|
||||
rmdir /q /s build
|
||||
mkdir build
|
||||
if ERRORLEVEL 1 goto failed
|
||||
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" ..
|
||||
if ERRORLEVEL 1 goto failed
|
||||
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
|
||||
if ERRORLEVEL 1 goto failed
|
||||
if exist bin\Debug (
|
||||
|
|
Loading…
Reference in New Issue