forked from misch7/nextcloud-client-building
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-zlib.bat
24 lines (16 loc) · 868 Bytes
/
build-zlib.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
setlocal EnableDelayedExpansion
Rem ******************************************************************************************
rem "zlib - Build for Windows 64-bit and 32-bit"
Rem ******************************************************************************************
call "%~dp0/defaults.inc.bat" %1
Rem ******************************************************************************************
rem Reference: https://ss64.com/nt/setlocal.html
rem Reference: https://ss64.com/nt/start.html
for %%G in (%BUILD_TARGETS%) do (
echo "**** build zlib for %%G (%~nx0)."
start "single-build-zlib.bat %BUILD_TYPE% %%G" /D "%PROJECT_PATH%/" /B /wait "%~dp0/single-build-zlib.bat" %BUILD_TYPE% %%G
if !ERRORLEVEL! neq 0 exit !ERRORLEVEL!
)
Rem ******************************************************************************************
exit 0