net.sf.antcontrib.cpptasks.compiler
Class CommandLineLinkerConfiguration
java.lang.Object
|
+--net.sf.antcontrib.cpptasks.compiler.CommandLineLinkerConfiguration
- public final class CommandLineLinkerConfiguration
- extends java.lang.Object
- implements LinkerConfiguration
A configuration for a command line linker
- Author:
- Curt Arnold
Method Summary |
int |
bid(java.lang.String filename)
An indication of how much this compiler would like to process this file |
java.lang.String[] |
getEndArguments()
|
java.lang.String |
getIdentifier()
Returns a string representation of this configuration. |
java.lang.String[] |
getLibraryNames()
|
boolean |
getMap()
|
java.lang.String |
getOutputFileName(java.lang.String inputFile)
Output file name (no path components) corresponding to
source file |
java.lang.String[] |
getPreArguments()
|
boolean |
getRebuild()
If true, all files using this configuration should be rebuilt
and any existing output files should be ignored |
java.lang.String |
getStartupObject()
|
void |
link(CCTask task,
TargetInfo linkTarget)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
CommandLineLinkerConfiguration
public CommandLineLinkerConfiguration(CommandLineLinker linker,
java.lang.String identifier,
java.lang.String[][] args,
boolean rebuild,
boolean map,
java.lang.String[] libraryNames,
java.lang.String startupObject)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
getIdentifier
public java.lang.String getIdentifier()
- Returns a string representation of this configuration.
Should be canonical so that equivalent configurations
will have equivalent string representations
getPreArguments
public java.lang.String[] getPreArguments()
getEndArguments
public java.lang.String[] getEndArguments()
getMap
public boolean getMap()
link
public void link(CCTask task,
TargetInfo linkTarget)
throws org.apache.tools.ant.BuildException
- Specified by:
- link in interface LinkerConfiguration
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
bid
public int bid(java.lang.String filename)
- Description copied from interface: ProcessorConfiguration
- An indication of how much this compiler would like to process this file
- Tags copied from interface: ProcessorConfiguration
- Returns:
- 0 is no interest to process, 100 is strong interest to process
getOutputFileName
public java.lang.String getOutputFileName(java.lang.String inputFile)
- Description copied from interface: ProcessorConfiguration
- Output file name (no path components) corresponding to
source file
- Tags copied from interface: ProcessorConfiguration
- Parameters:
inputFile
- input file- Returns:
- output file name or null if no output file or name
not determined by input file
getLibraryNames
public java.lang.String[] getLibraryNames()
getStartupObject
public java.lang.String getStartupObject()
Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.