net.sf.antcontrib.cpptasks.openwatcom
public abstract class OpenWatcomCompiler extends CommandLineCompiler
Constructor Summary | |
---|---|
protected | OpenWatcomCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean newEnvironment, Environment env)
Constructor. |
Method Summary | |
---|---|
protected void | addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
Add implied arguments. |
protected void | addWarningSwitch(Vector args, int level)
Add warning switch. |
Processor | changeEnvironment(boolean newEnvironment, Environment env)
Change enviroment. |
protected void | getDefineSwitch(StringBuffer buffer, String define, String value)
Get define switch. |
protected File[] | getEnvironmentIncludePath()
Get include path from environment. |
protected String | getIncludeDirSwitch(String includeDir)
Get include directory switch. |
int | getMaximumCommandLength()
Get maximum command line length. |
protected void | getUndefineSwitch(StringBuffer buffer, String define)
Get undefine switch. |
Parameters: command String command identifierArg String identifier sourceExtensions String[] source extension headerExtensions String[] header extension newEnvironment boolean use new enviroment env Environment environment
Parameters: args Vector command line arguments debug boolean is debug multithreaded boolean multithreaderd exceptions boolean support exceptions linkType LinkType link type rtti Boolean run time type information optimization OptimizationEnum
Parameters: args Vector command line arguments level int warning level
Parameters: newEnvironment boolean use new enviroment env Environment environment
Returns: Processor modified processor
Parameters: buffer StringBuffer buffer define String preprocessor macro value String value, may be null.
Returns: File[]
Parameters: includeDir String include directory
Returns: String command line argument
Returns: int maximum command line length
Parameters: buffer StringBuffer argument destination define String preprocessor macro