Class CommandLineLinkerConfiguration
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.CommandLineLinkerConfiguration
- All Implemented Interfaces:
LinkerConfiguration, ProcessorConfiguration
A configuration for a command line linker
- Author:
- Curt Arnold
-
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 TypeMethodDescriptionintAn indication of how much this compiler would like to process this fileString[]Returns a string representation of this configuration.String[]booleangetMap()String[]getOutputFileNames(String inputFile, VersionInfo versionInfo) Output file name (no path components) corresponding to source fileString[]booleanIf true, all files using this configuration should be rebuilt and any existing output files should be ignoredbooleanisDebug()voidlink(CCTask task, TargetInfo linkTarget) toString()
-
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:ProcessorConfigurationAn indication of how much this compiler would like to process this file- Specified by:
bidin 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:
getIdentifierin interfaceProcessorConfiguration
-
getLibraryNames
-
getMap
public boolean getMap() -
getOutputFileNames
Description copied from interface:ProcessorConfigurationOutput file name (no path components) corresponding to source file- Specified by:
getOutputFileNamesin 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:
getParamin interfaceLinkerConfiguration
-
getParams
- Specified by:
getParamsin interfaceProcessorConfiguration
-
getPreArguments
-
getRebuild
public boolean getRebuild()Description copied from interface:ProcessorConfigurationIf true, all files using this configuration should be rebuilt and any existing output files should be ignored- Specified by:
getRebuildin interfaceProcessorConfiguration
-
getStartupObject
-
link
- Specified by:
linkin interfaceLinkerConfiguration- Throws:
org.apache.tools.ant.BuildException
-
toString
-
getLinker
- Specified by:
getLinkerin interfaceLinkerConfiguration
-
isDebug
public boolean isDebug()- Specified by:
isDebugin interfaceLinkerConfiguration
-