public final class VisualStudioNETProjectWriter extends Object implements ProjectWriter
Constructor and Description |
---|
VisualStudioNETProjectWriter(String versionArg,
String trueArg,
String falseArg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
writeProject(File fileName,
CCTask task,
ProjectDef projectDef,
List<File> sources,
Map<String,TargetInfo> targets,
TargetInfo linkTarget)
Writes a project definition file.
|
public VisualStudioNETProjectWriter(String versionArg, String trueArg, String falseArg)
versionArg
- String VisualStudio.NET versiontrueArg
- literal to represent true, "true" in VC 2005.falseArg
- literal to represent false, "false" in VC 2005.public void writeProject(File fileName, CCTask task, ProjectDef projectDef, List<File> sources, Map<String,TargetInfo> targets, TargetInfo linkTarget) throws IOException, SAXException
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 targetIOException
- if I/O errorSAXException
- if XML serialization errorCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.