summaryrefslogtreecommitdiffstats
path: root/PCbuild/build.bat
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-31 15:18:55 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-31 15:18:55 (GMT)
commit3adfe9aaae214dbee36e9b1ba4753997bfe9ae05 (patch)
treef70ac325e8ec9d412ad83133a2c5f24d58c4944f /PCbuild/build.bat
parentce49f020638588f0d4ad3c9b5b139821372f0d4f (diff)
downloadcpython-3adfe9aaae214dbee36e9b1ba4753997bfe9ae05.zip
cpython-3adfe9aaae214dbee36e9b1ba4753997bfe9ae05.tar.gz
cpython-3adfe9aaae214dbee36e9b1ba4753997bfe9ae05.tar.bz2
Renamed PCBuild9 directory to PCBuild
Diffstat (limited to 'PCbuild/build.bat')
-rw-r--r--PCbuild/build.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
new file mode 100644
index 0000000..9bc8186
--- /dev/null
+++ b/PCbuild/build.bat
@@ -0,0 +1,17 @@
+@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=/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
+
+set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
+echo %cmd%
+%cmd%