Staging
v0.5.1
https://github.com/python/cpython
Revision 2a6ac15f263c58842c5be9398da9cc78d3516988 authored by Terry Reedy on 24 January 2011, 20:48:40 UTC, committed by Terry Reedy on 24 January 2011, 20:48:40 UTC
1 parent 009a6bd
Raw File
Tip revision: 2a6ac15f263c58842c5be9398da9cc78d3516988 authored by Terry Reedy on 24 January 2011, 20:48:40 UTC
Update last tix code example for 3.x, as already done for previous examples.
Tip revision: 2a6ac15
build.bat
@echo off
rem A batch program to build or rebuild a particular configuration.
rem just for convenience.

setlocal
set platf=Win32
set conf=Release
set build=

:CheckOpts
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
if "%1"=="-d" (set conf=Debug) & shift & goto CheckOpts

set cmd=vcbuild /useenv pcbuild.sln %build% "%conf%|%platf%"
echo %cmd%
%cmd%
back to top