main
cmd 19 lines 341 Bytes
Raw
1 @echo off
2
3 setlocal
4 pushd %~dp0
5
6 :parse_args
7 if /i "%1"=="release" set _C=Release
8 if /i "%1"=="inc" set _INCREMENTAL=1
9 if /i "%1"=="clean" set _INCREMENTAL= & set _CLEAN=1
10 if not "%1"=="" shift & goto parse_args
11
12 if not "%_INCREMENTAL%"=="1" call src\clean.cmd
13 if not "%_CLEAN%"=="" goto end
14
15 call src\build_all.cmd %_C%
16
17 :end
18 popd
19 endlocal