Class CommandLineLinkerConfiguration
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.CommandLineLinkerConfiguration
- All Implemented Interfaces:
LinkerConfiguration
,ProcessorConfiguration
A configuration for a command line linker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String[][]
private boolean
private String
private String[]
private CommandLineLinker
private boolean
private ProcessorParam[]
private boolean
private String
-
Constructor Summary
ConstructorsConstructorDescriptionCommandLineLinkerConfiguration
(CommandLineLinker linker, String identifier, String[][] args, ProcessorParam[] params, boolean rebuild, boolean map, boolean debug, String[] libraryNames, String startupObject) -
Method Summary
Modifier and TypeMethodDescriptionint
An indication of how much this compiler would like to process this fileString[]
Returns a string representation of this configuration.String[]
boolean
getMap()
String[]
getOutputFileNames
(String inputFile, VersionInfo versionInfo) Output file name (no path components) corresponding to source fileString[]
boolean
If true, all files using this configuration should be rebuilt and any existing output files should be ignoredboolean
isDebug()
void
link
(CCTask task, TargetInfo linkTarget) toString()
-
Field Details
-
args
-
identifier
-
libraryNames
-
linker
-
map
private boolean map -
params
-
rebuild
private boolean rebuild -
debug
private boolean debug -
startupObject
-
-
Constructor Details
-
CommandLineLinkerConfiguration
public CommandLineLinkerConfiguration(CommandLineLinker linker, String identifier, String[][] args, ProcessorParam[] params, boolean rebuild, boolean map, boolean debug, String[] libraryNames, String startupObject)
-
-
Method Details
-
bid
Description copied from interface:ProcessorConfiguration
An indication of how much this compiler would like to process this file- Specified by:
bid
in interfaceProcessorConfiguration
- Returns:
- 0 is no interest to process, 100 is strong interest to process
-
getEndArguments
-
getIdentifier
Returns a string representation of this configuration. Should be canonical so that equivalent configurations will have equivalent string representations- Specified by:
getIdentifier
in interfaceProcessorConfiguration
-
getLibraryNames
-
getMap
public boolean getMap() -
getOutputFileNames
Description copied from interface:ProcessorConfiguration
Output file name (no path components) corresponding to source file- Specified by:
getOutputFileNames
in interfaceProcessorConfiguration
- Parameters:
inputFile
- input file- Returns:
- output file names or zero-length array if no output file or name not determined by input file
-
getParam
- Specified by:
getParam
in interfaceLinkerConfiguration
-
getParams
- Specified by:
getParams
in interfaceProcessorConfiguration
-
getPreArguments
-
getRebuild
public boolean getRebuild()Description copied from interface:ProcessorConfiguration
If true, all files using this configuration should be rebuilt and any existing output files should be ignored- Specified by:
getRebuild
in interfaceProcessorConfiguration
-
getStartupObject
-
link
- Specified by:
link
in interfaceLinkerConfiguration
- Throws:
org.apache.tools.ant.BuildException
-
toString
-
getLinker
- Specified by:
getLinker
in interfaceLinkerConfiguration
-
isDebug
public boolean isDebug()- Specified by:
isDebug
in interfaceLinkerConfiguration
-