equal
deleted
inserted
replaced
|
1 @echo off |
|
2 rem A batch program to build or rebuild a particular configuration. |
|
3 rem just for convenience. |
|
4 |
|
5 setlocal |
|
6 set platf=Win32 |
|
7 set conf=Release |
|
8 set build= |
|
9 |
|
10 :CheckOpts |
|
11 if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts |
|
12 if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts |
|
13 if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts |
|
14 if "%1"=="-d" (set conf=Debug) & shift & goto CheckOpts |
|
15 |
|
16 set cmd=vcbuild /useenv pcbuild.sln %build% "%conf%|%platf%" |
|
17 echo %cmd% |
|
18 %cmd% |