aboutsummaryrefslogtreecommitdiff
path: root/devbuild.cmd
blob: d27822da8a956cef0410a9a3ad8ffd349d6a5aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off

setlocal
pushd %~dp0

:parse_args
if /i "%1"=="release" set _C=Release
if /i "%1"=="inc" set _INCREMENTAL=1
if /i "%1"=="clean" set _INCREMENTAL= & set _CLEAN=1
if not "%1"=="" shift & goto parse_args

if not "%_INCREMENTAL%"=="1" call src\clean.cmd
if not "%_CLEAN%"=="" goto end

call src\build_all.cmd %_C%

:end
popd
endlocal