diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/api.cmd | 7 | ||||
-rw-r--r-- | src/setup/setup.cmd | 7 | ||||
-rw-r--r-- | src/tools/tools.cmd | 7 |
3 files changed, 12 insertions, 9 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% |
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% |
diff --git a/src/tools/tools.cmd b/src/tools/tools.cmd index a37703f6..4ddfde46 100644 --- a/src/tools/tools.cmd +++ b/src/tools/tools.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 tools %_C% | 18 | @echo Building tools %_C% |