This step is meant to handle compilation using Microsoft compilers. VC++ 6-8, VS2003, and VS2005 are supported. This step will take care of setting up a clean compilation environment, parse the generated output in real time and deliver as detailed as possible information about the compilation executed.
All of the classes are in
buildbot.steps.vstudio. The available classes are:
The available constructor arguments are
"rebuild", which means that first all the remaining object files will be cleaned by the compiler. The alternate value is
"build", where only the updated files will be recompiled.
"release"an gives to the compiler the configuration to use.
Falseinstruct the compiler to use its own settings or the one defined through the environment variables
%LIB%. If any of the
LIBparameter is defined, this parameter automatically switches to
Here is an example on how to use this step:
from buildbot.steps.VisualStudio import VS2005 f.addStep(VS2005( projectfile="project.sln", config="release", arch="x64", mode="build", INCLUDE=[r'D:\WINDDK\Include\wnet'], LIB=[r'D:\WINDDK\lib\wnet\amd64']))