Keep errorlevel

This commit is contained in:
GeorgH93 2020-06-03 16:03:14 +02:00
parent 64a9320d61
commit 0ec5283506
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
1 changed files with 4 additions and 0 deletions

View File

@ -67,9 +67,11 @@ if exist bin\Debug (
) )
echo Build completed successfully echo Build completed successfully
set BUILD_FAILED=0
goto done goto done
:failed :failed
set BUILD_FAILED=%ERRORLEVEL%
echo Build failed echo Build failed
:done :done
@ -84,3 +86,5 @@ set BONJOUR_SDK_HOME=
set B_QT_FULLPATH= set B_QT_FULLPATH=
set savedir= set savedir=
set cmake_gen= set cmake_gen=
EXIT /B %BUILD_FAILED%