Mercurial > cpython-lru_cache-weakref
annotate PCbuild/build.bat @ 54294:dba767bc3155 legacy-trunk
remove mention of old ctypes version
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 23 May 2009 20:59:09 +0000 |
| parents | 329c6b2e1105 |
| children |
| rev | line source |
|---|---|
|
43972
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
1 @echo off |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
2 rem A batch program to build or rebuild a particular configuration. |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
3 rem just for convenience. |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
4 |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
5 setlocal |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
6 set platf=Win32 |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
7 set conf=Release |
|
45255
329c6b2e1105
Issue #1706: Require Windows 2000+
Christian Heimes <christian@cheimes.de>
parents:
45133
diff
changeset
|
8 set build= |
|
43972
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
9 |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
10 :CheckOpts |
|
45255
329c6b2e1105
Issue #1706: Require Windows 2000+
Christian Heimes <christian@cheimes.de>
parents:
45133
diff
changeset
|
11 if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts |
|
43972
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
12 if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts |
|
45255
329c6b2e1105
Issue #1706: Require Windows 2000+
Christian Heimes <christian@cheimes.de>
parents:
45133
diff
changeset
|
13 if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts |
|
329c6b2e1105
Issue #1706: Require Windows 2000+
Christian Heimes <christian@cheimes.de>
parents:
45133
diff
changeset
|
14 if "%1"=="-d" (set conf=Debug) & shift & goto CheckOpts |
|
43972
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
15 |
|
45133
4ad09565579d
Fixed paths to Windows build directories in build_ext.py
Christian Heimes <christian@cheimes.de>
parents:
44395
diff
changeset
|
16 set cmd=vcbuild /useenv pcbuild.sln %build% "%conf%|%platf%" |
|
43972
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
17 echo %cmd% |
|
a8dd8874ff2d
Backport of the PCbuild9 directory from the py3k branch.
Christian Heimes <christian@cheimes.de>
parents:
diff
changeset
|
18 %cmd% |
