summaryrefslogtreecommitdiffstats
path: root/clean_build.bat
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:04 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:04 -0400
commitfbc30002ab3438356c0476e70c4577a0310d52c0 (patch)
tree62b4c241ad0b2a65b0e430b9f7710ed944d30fb1 /clean_build.bat
parentdff8b887edf10407f22aaab9d147948cd5491f0a (diff)
New upstream version 2.3.3+dfsg.upstream/2.3.3+dfsg
Diffstat (limited to 'clean_build.bat')
-rw-r--r--clean_build.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/clean_build.bat b/clean_build.bat
index edce29c..4416a7e 100644
--- a/clean_build.bat
+++ b/clean_build.bat
@@ -33,6 +33,8 @@ set B_QT_FULLPATH=%B_QT_ROOT%\%B_QT_VER%\%B_QT_MSVC%
echo Bonjour: %BONJOUR_SDK_HOME%
echo Qt: %B_QT_FULLPATH%
+git submodule update --init --recursive
+
rmdir /q /s build
mkdir build
if ERRORLEVEL 1 goto failed
@@ -67,9 +69,11 @@ if exist bin\Debug (
)
echo Build completed successfully
+set BUILD_FAILED=0
goto done
:failed
+set BUILD_FAILED=%ERRORLEVEL%
echo Build failed
:done
@@ -84,3 +88,5 @@ set BONJOUR_SDK_HOME=
set B_QT_FULLPATH=
set savedir=
set cmake_gen=
+
+EXIT /B %BUILD_FAILED%