[Python-Dev] Fixing buildbot/external(-amd64).bat files on Windows
Trent Nelson
tnelson at onresolve.com
Fri Feb 29 17:01:15 CET 2008
Christian Heimes:
> Thomas Heller wrote:
> > What's the difference between these two?
> >
> > vcbuild db-4.4.20\build_win32\Berkeley_DB.sln /build Debug
> >
> > devenv db-4.4.20\build_win32\Berkeley_DB.sln /build Debug
>
> Devenv is the name of the VS GUI executable but it can *also* be used as
> a CLI to build stuff. devenv doesn't work for Express Edition.
>
> vcbuild seems to be the preferred CLI app to build a project but it's
> limited. I think it doesn't support /upgrade.
Hummm. My answer would be more along the lines of "devenv works, vcbuild doesn't" ;-)
S:\buildbots\python\trunk.nelson-windows\db-4.4.20\build_win32>vcbuild Berkeley_DB.sln /build Debug /project db_static
Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
vcbuild.exe : warning VCBLD6002: invalid option /build specified. The option was ignored.
vcbuild.exe : warning VCBLD6002: invalid option /project specified. The option was ignored.
vcbuild.exe : warning VCBLD6002: invalid option db_static specified. The option was ignored.
vcbuild.exe : error VCBLD0006: invalid configuration name: DEBUG.
Compare this to:
S:\buildbots\python\trunk.nelson-windows\db-4.4.20\build_win32>devenv Berkeley_DB.sln /build Debug /project db_static
Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. All rights reserved.
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
I don't know how the existing vcbuild line ever worked, given the following output from vcbuild /?:
Usage: vcbuild [options] [project|solution] [config|$ALL]
Trent.
More information about the Python-Dev
mailing list