public abstract class OpenWatcomCompiler extends CommandLineCompiler
objDir, workDir
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
protected |
OpenWatcomCompiler(String command,
String identifierArg,
String[] sourceExtensions,
String[] headerExtensions,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addImpliedArgs(Vector<String> args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization)
Add implied arguments.
|
protected void |
addWarningSwitch(Vector<String> args,
int level)
Add warning switch.
|
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.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.
|
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getCommandWithPath, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, createParser, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDir
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
protected OpenWatcomCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
command
- String commandidentifierArg
- String identifiersourceExtensions
- String[] source extensionheaderExtensions
- String[] header extensionnewEnvironment
- boolean use new enviromentenv
- Environment environmentprotected final void addImpliedArgs(Vector<String> args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
in class CommandLineCompiler
args
- Vector command line argumentsdebug
- boolean is debugmultithreaded
- boolean multithreaderdexceptions
- boolean support exceptionslinkType
- LinkType link typertti
- Boolean run time type informationoptimization
- OptimizationEnumprotected final void addWarningSwitch(Vector<String> args, int level)
addWarningSwitch
in class CommandLineCompiler
args
- Vector command line argumentslevel
- int warning levelpublic final Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
in interface Processor
changeEnvironment
in class AbstractProcessor
newEnvironment
- boolean use new enviromentenv
- Environment environmentprotected final void getDefineSwitch(StringBuffer buffer, String define, String value)
getDefineSwitch
in class CommandLineCompiler
buffer
- StringBuffer bufferdefine
- String preprocessor macrovalue
- String value, may be null.protected final File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class CommandLineCompiler
protected final String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch
in class CommandLineCompiler
includeDir
- String include directorypublic final int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineCompiler
protected final void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch
in class CommandLineCompiler
buffer
- StringBuffer argument destinationdefine
- String preprocessor macroCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.