net.sf.antcontrib.cpptasks.devstudio

Class DevStudioCompatibleLinker

public abstract class DevStudioCompatibleLinker extends CommandLineLinker

Abstract base class for linkers that try to mimic the command line arguments for the Microsoft (r) Incremental Linker

Author: Curt Arnold

Constructor Summary
DevStudioCompatibleLinker(String command, String identifierArg, String outputSuffix)
Method Summary
protected voidaddBase(long base, Vector args)
protected voidaddEntry(String entry, Vector args)
protected voidaddFixed(Boolean fixed, Vector args)
protected voidaddImpliedArgs(boolean debug, LinkType linkType, Vector args)
protected voidaddIncremental(boolean incremental, Vector args)
protected voidaddMap(boolean map, Vector args)
protected voidaddStack(int stack, Vector args)
voidaddVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher)
Adds source or object files to the bidded fileset to support version information.
StringgetCommandFileSwitch(String commandFile)
File[]getLibraryPath()
String[]getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
intgetMaximumCommandLength()
String[]getOutputFileSwitch(String outputFile)
booleanisCaseSensitive()

Constructor Detail

DevStudioCompatibleLinker

public DevStudioCompatibleLinker(String command, String identifierArg, String outputSuffix)

Method Detail

addBase

protected void addBase(long base, Vector args)

addEntry

protected void addEntry(String entry, Vector args)

addFixed

protected void addFixed(Boolean fixed, Vector args)

addImpliedArgs

protected void addImpliedArgs(boolean debug, LinkType linkType, Vector args)

addIncremental

protected void addIncremental(boolean incremental, Vector args)

addMap

protected void addMap(boolean map, Vector args)

addStack

protected void addStack(int stack, Vector args)

addVersionFiles

public void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher)
Adds source or object files to the bidded fileset to support version information.

Parameters: versionInfo version information linkType link type isDebug true if debug build outputFile name of generated executable objDir directory for generated files matcher bidded fileset

getCommandFileSwitch

public String getCommandFileSwitch(String commandFile)

getLibraryPath

public File[] getLibraryPath()

getLibraryPatterns

public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)

getMaximumCommandLength

public int getMaximumCommandLength()

getOutputFileSwitch

public String[] getOutputFileSwitch(String outputFile)

isCaseSensitive

public boolean isCaseSensitive()
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.