diff options
Diffstat (limited to 'src/setup')
| -rw-r--r-- | src/setup/setup.cmd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/setup/setup.cmd b/src/setup/setup.cmd index 8a7b01c9..28982ad2 100644 --- a/src/setup/setup.cmd +++ b/src/setup/setup.cmd | |||
| @@ -6,12 +6,13 @@ | |||
| 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 | :: Clean | 13 | :: Clean |
| 14 | @if NOT "%_INCREMENTAL%"=="" call :clean | 14 | |
| 15 | @if "%_INC%"=="" call :clean | ||
| 15 | @if NOT "%_CLEAN%"=="" goto :end | 16 | @if NOT "%_CLEAN%"=="" goto :end |
| 16 | 17 | ||
| 17 | @echo Building setup %_C% | 18 | @echo Building setup %_C% |
