blob: 2f8ee8804f0244ed1e3dca8d8d06165c3337bb7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
@echo off
setlocal
pushd %~dp0
:parse_args
if /i "%1"=="release" set _C=Release
if /i "%1"=="inc" set _INCREMENTAL=1
if /i "%1"=="incremental" 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
src\build_all.cmd %_C%
:end
popd
endlocal
|