public final class CommandLineLinkerConfiguration extends Object implements LinkerConfiguration
Constructor and Description |
---|
CommandLineLinkerConfiguration(CommandLineLinker linker,
String identifier,
String[][] args,
ProcessorParam[] params,
boolean rebuild,
boolean map,
boolean debug,
String[] libraryNames,
String startupObject) |
CommandLineLinkerConfiguration(CommandLineLinker linker,
String identifier,
String[][] args,
ProcessorParam[] params,
boolean rebuild,
boolean map,
boolean debug,
String[] libraryNames,
String startupObject,
String commandPath) |
Modifier and Type | Method and Description |
---|---|
int |
bid(String filename)
An indication of how much this compiler would like to process this file
|
String |
getCommandPath() |
String[] |
getEndArguments() |
String |
getIdentifier()
Returns a string representation of this configuration.
|
String[] |
getLibraryNames() |
Linker |
getLinker() |
boolean |
getMap() |
String[] |
getOutputFileNames(String inputFile,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
|
LinkerParam |
getParam(String name) |
ProcessorParam[] |
getParams() |
String[] |
getPreArguments() |
boolean |
getRebuild()
If true, all files using this configuration should be rebuilt and any
existing output files should be ignored
|
String |
getStartupObject() |
boolean |
isDebug() |
void |
link(CCTask task,
TargetInfo linkTarget) |
void |
setCommandPath(String commandPath) |
String |
toString() |
public CommandLineLinkerConfiguration(CommandLineLinker linker, String identifier, String[][] args, ProcessorParam[] params, boolean rebuild, boolean map, boolean debug, String[] libraryNames, String startupObject)
public CommandLineLinkerConfiguration(CommandLineLinker linker, String identifier, String[][] args, ProcessorParam[] params, boolean rebuild, boolean map, boolean debug, String[] libraryNames, String startupObject, String commandPath)
public int bid(String filename)
ProcessorConfiguration
bid
in interface ProcessorConfiguration
public final String getCommandPath()
public String[] getEndArguments()
public String getIdentifier()
getIdentifier
in interface ProcessorConfiguration
public String[] getLibraryNames()
public Linker getLinker()
getLinker
in interface LinkerConfiguration
public boolean getMap()
public String[] getOutputFileNames(String inputFile, VersionInfo versionInfo)
ProcessorConfiguration
getOutputFileNames
in interface ProcessorConfiguration
inputFile
- input filepublic LinkerParam getParam(String name)
getParam
in interface LinkerConfiguration
public ProcessorParam[] getParams()
getParams
in interface ProcessorConfiguration
public String[] getPreArguments()
public boolean getRebuild()
ProcessorConfiguration
getRebuild
in interface ProcessorConfiguration
public String getStartupObject()
public boolean isDebug()
isDebug
in interface LinkerConfiguration
public void link(CCTask task, TargetInfo linkTarget) throws org.apache.tools.ant.BuildException
link
in interface LinkerConfiguration
org.apache.tools.ant.BuildException
public final void setCommandPath(String commandPath)
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.