PageRenderTime 17ms CodeModel.GetById 9ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/PC/VS8.0/build.bat

http://unladen-swallow.googlecode.com/
Batch | 17 lines | 14 code | 3 blank | 0 comment | 4 complexity | 906eaca4404392da161f79ea056ee1e3 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=/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
14
15set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
16echo %cmd%
17%cmd%