aboutsummaryrefslogtreecommitdiffstats
path: root/clean_build.bat
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:16 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:16 -0400
commit37a7155ea7c504b308a8afa642c653a12bbe5f84 (patch)
treebd68ea5d2a2400dcd04b1aa85617534e66aba94c /clean_build.bat
parent1ae09e76cde035d716763fc88b570535884cd50f (diff)
parentfbc30002ab3438356c0476e70c4577a0310d52c0 (diff)
Update upstream source from tag 'upstream/2.3.3+dfsg'
Update to upstream version '2.3.3+dfsg' with Debian dir f7eeed313bc1a4c2bda69f04f0316ee29651397f
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%