diff options
Diffstat (limited to 'src/api/api.cmd')
| -rw-r--r-- | src/api/api.cmd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/api/api.cmd b/src/api/api.cmd index abdc975b..d93f1435 100644 --- a/src/api/api.cmd +++ b/src/api/api.cmd | |||
| @@ -6,14 +6,15 @@ | |||
| 6 | 6 | ||
| 7 | :parse_args | 7 | :parse_args |
| 8 | @if /i "%1"=="release" set _C=Release | 8 | @if /i "%1"=="release" set _C=Release |
| 9 | @if /i "%1"=="inc" set _INCREMENTAL=1 | 9 | @if /i "%1"=="inc" set _INC=1 |
| 10 | @if /i "%1"=="clean" set _INCREMENTAL= & set _CLEAN=1 | 10 | @if /i "%1"=="clean" set _CLEAN=1 |
| 11 | @if not "%1"=="" shift & goto parse_args | 11 | @if not "%1"=="" shift & goto parse_args |
| 12 | 12 | ||
| 13 | @set _B=%~dp0..\..\build\api\%_C% | 13 | @set _B=%~dp0..\..\build\api\%_C% |
| 14 | 14 | ||
| 15 | :: Clean | 15 | :: Clean |
| 16 | @if NOT "%_INCREMENTAL%"=="" call :clean | 16 | |
| 17 | @if "%_INC%"=="" call :clean | ||
| 17 | @if NOT "%_CLEAN%"=="" goto :end | 18 | @if NOT "%_CLEAN%"=="" goto :end |
| 18 | 19 | ||
| 19 | @echo Building api %_C% | 20 | @echo Building api %_C% |
