mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-26 03:35:30 +03:00
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 (
|
||||
@ -55,4 +55,4 @@ set B_QT_ROOT=
|
||||
set B_BONJOUR=
|
||||
|
||||
cd /d %savedir%
|
||||
set savedir=
|
||||
set savedir=
|
||||
|
Loading…
Reference in New Issue
Block a user