net.sf.antcontrib.cpptasks.openwatcom
Class OpenWatcomCompiler
- Cloneable, Compiler, Processor
public abstract class OpenWatcomCompiler
An abstract base class for the OpenWatcom C and Fortran compilers.
OpenWatcomCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean newEnvironment, Environment env)- Constructor.
|
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.
|
addImpliedArgs, addIncludes, addWarningSwitch, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getDefineSwitch, getEnvironmentIncludePath, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, getUndefineSwitch, runCommand, setCommand |
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString |
OpenWatcomCompiler
protected OpenWatcomCompiler(String command,
String identifierArg,
String[] sourceExtensions,
String[] headerExtensions,
boolean newEnvironment,
Environment env) Constructor.
command - String commandidentifierArg - String identifiersourceExtensions - String[] source extensionheaderExtensions - String[] header extensionnewEnvironment - boolean use new enviromentenv - Environment environment
addImpliedArgs
protected final void addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) Add implied arguments.
- addImpliedArgs in interface CommandLineCompiler
args - Vector command line argumentsdebug - boolean is debugmultithreaded - boolean multithreaderdexceptions - boolean support exceptionslinkType - LinkType link typertti - Boolean run time type informationoptimization - OptimizationEnum
addWarningSwitch
protected final void addWarningSwitch(Vector args,
int level) Add warning switch.
- addWarningSwitch in interface CommandLineCompiler
args - Vector command line argumentslevel - int warning level
getDefineSwitch
protected final void getDefineSwitch(StringBuffer buffer,
String define,
String value) Get define switch.
- getDefineSwitch in interface CommandLineCompiler
buffer - StringBuffer bufferdefine - String preprocessor macrovalue - String value, may be null.
getIncludeDirSwitch
protected final String getIncludeDirSwitch(String includeDir)
Get include directory switch.
- getIncludeDirSwitch in interface CommandLineCompiler
includeDir - String include directory
- String command line argument
getUndefineSwitch
protected final void getUndefineSwitch(StringBuffer buffer,
String define) Get undefine switch.
- getUndefineSwitch in interface CommandLineCompiler
buffer - StringBuffer argument destinationdefine - String preprocessor macro
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.