-
Notifications
You must be signed in to change notification settings - Fork 38
/
build-desktop.bat
30 lines (21 loc) · 991 Bytes
/
build-desktop.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
25
26
27
28
29
30
@echo off
setlocal EnableDelayedExpansion
Rem ******************************************************************************************
rem "desktop - Build for Windows 64-bit and/or 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 (
if "%BUILD_TYPE%" == "Debug" (
set "DLL_SUFFIX=d"
) else (
set "DLL_SUFFIX="
)
echo "**** build desktop for %%G (%~nx0)."
start "single-build-desktop.bat %BUILD_TYPE% %%G" /D "%PROJECT_PATH%/" /B /wait "%~dp0/single-build-desktop.bat" %BUILD_TYPE% %%G
if !ERRORLEVEL! neq 0 exit !ERRORLEVEL!
)
Rem ******************************************************************************************
exit 0