PageRenderTime 202ms CodeModel.GetById 100ms app.highlight 2ms RepoModel.GetById 99ms app.codeStats 0ms

/PCbuild/build.bat

http://unladen-swallow.googlecode.com/
Batch | 18 lines | 15 code | 3 blank | 0 comment | 5 complexity | 99915917901fff6ffdefc804f587cd2a MD5 | raw file
 1@echo off
 2rem A batch program to build or rebuild a particular configuration.
 3rem just for convenience.
 4
 5setlocal
 6set platf=Win32
 7set conf=Release
 8set build=
 9
10:CheckOpts
11if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
12if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
13if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
14if "%1"=="-d" (set conf=Debug) & shift & goto CheckOpts
15
16set cmd=vcbuild /useenv pcbuild.sln %build% "%conf%|%platf%"
17echo %cmd%
18%cmd%