diff options
Diffstat (limited to 'devbuild.cmd')
-rw-r--r-- | devbuild.cmd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devbuild.cmd b/devbuild.cmd new file mode 100644 index 00000000..2f8ee880 --- /dev/null +++ b/devbuild.cmd | |||
@@ -0,0 +1,20 @@ | |||
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"=="incremental" set _INCREMENTAL=1 | ||
10 | if /i "%1"=="clean" set _INCREMENTAL= & set _CLEAN=1 | ||
11 | if not "%1"=="" shift & goto parse_args | ||
12 | |||
13 | if not "%_INCREMENTAL"=="1" call src\clean.cmd | ||
14 | if not "%_CLEAN%"=="" goto end | ||
15 | |||
16 | src\build_all.cmd %_C% | ||
17 | |||
18 | :end | ||
19 | popd | ||
20 | endlocal | ||