/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
  2. rem A batch program to build or rebuild a particular configuration.
  3. rem just for convenience.
  4. setlocal
  5. set platf=Win32
  6. set conf=Release
  7. set build=/build
  8. :CheckOpts
  9. if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
  10. if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
  11. if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
  12. set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
  13. echo %cmd%
  14. %cmd%