net.sf.antcontrib.cpptasks.compiler
Interface ProcessorConfiguration
- CompilerConfiguration, LinkerConfiguration
- CommandLineCompilerConfiguration, CommandLineLinkerConfiguration
public interface ProcessorConfiguration
A configuration for a C++ compiler, linker or other processor
int | bid(String filename) - An indication of how much this compiler would like to process this file
|
String | getIdentifier() - Returns a string representation of this configuration.
|
String[] | getOutputFileNames(String inputFile, VersionInfo versionInfo) - Output file name (no path components) corresponding to source file
|
ProcessorParam[] | getParams()
|
boolean | getRebuild() - If true, all files using this configuration should be rebuilt and any
existing output files should be ignored
|
bid
public int bid(String filename)
An indication of how much this compiler would like to process this file
- 0 is no interest to process, 100 is strong interest to process
getIdentifier
public String getIdentifier()
Returns a string representation of this configuration. Should be
canonical so that equivalent configurations will have equivalent string
representations
getOutputFileNames
public String[] getOutputFileNames(String inputFile,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
- output file names or zero-length array if no output file or name not
determined by input file
getRebuild
public boolean getRebuild()
If true, all files using this configuration should be rebuilt and any
existing output files should be ignored
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.