net.sf.antcontrib.cpptasks.devstudio
Class VisualStudioNETProjectWriter
java.lang.Object
net.sf.antcontrib.cpptasks.devstudio.VisualStudioNETProjectWriter
- ProjectWriter
public final class VisualStudioNETProjectWriter
extends java.lang.Object
Writes a Visual Studio.NET project file.
VisualStudioNETProjectWriter
public VisualStudioNETProjectWriter(String versionArg,
String trueArg,
String falseArg)
Constructor.
versionArg
- String VisualStudio.NET versiontrueArg
- literal to represent true, "true" in VC 2005.falseArg
- literal to represent false, "false" in VC 2005.
writeProject
public void writeProject(File fileName,
CCTask task,
ProjectDef projectDef,
List sources,
Hashtable targets,
TargetInfo linkTarget)
throws IOException,
SAXException
Writes a project definition file.
- writeProject in interface ProjectWriter
fileName
- project name for file, should has .cbx extensiontask
- cc task for which to write projectprojectDef
- project elementsources
- source filestargets
- compilation targetslinkTarget
- link target
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.