com.github.maven_nar.cpptasks.borland
Class BorlandCCompiler
java.lang.Object
com.github.maven_nar.cpptasks.compiler.AbstractProcessor
com.github.maven_nar.cpptasks.compiler.AbstractCompiler
com.github.maven_nar.cpptasks.compiler.CommandLineCompiler
com.github.maven_nar.cpptasks.compiler.PrecompilingCommandLineCompiler
com.github.maven_nar.cpptasks.compiler.PrecompilingCommandLineCCompiler
com.github.maven_nar.cpptasks.borland.BorlandCCompiler
- All Implemented Interfaces:
- Compiler, PrecompilingCompiler, Processor, Cloneable
public class BorlandCCompiler
- extends PrecompilingCommandLineCCompiler
Adapter for the Borland(r) C/C++ compiler.
- Author:
- Curt Arnold
|
Method Summary |
protected void |
addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization)
|
protected void |
addWarningSwitch(Vector args,
int level)
|
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
|
protected CompilerConfiguration |
createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig,
File prototype,
String lastInclude)
|
protected CompilerConfiguration |
createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig,
File prototype,
String lastInclude,
String[] exceptFiles)
|
protected void |
getDefineSwitch(StringBuffer buffer,
String define,
String value)
|
protected File[] |
getEnvironmentIncludePath()
|
protected String |
getIncludeDirSwitch(String includeDir)
|
static BorlandCCompiler |
getInstance()
|
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors |
int |
getMaximumCommandLength()
|
protected void |
getUndefineSwitch(StringBuffer buffer,
String define)
|
| Methods inherited from class com.github.maven_nar.cpptasks.compiler.CommandLineCompiler |
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getCommandWithPath, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand |
| Methods inherited from interface com.github.maven_nar.cpptasks.compiler.Processor |
bid |
getInstance
public static BorlandCCompiler getInstance()
addImpliedArgs
protected void addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization)
- Specified by:
addImpliedArgs in class CommandLineCompiler
addWarningSwitch
protected void addWarningSwitch(Vector args,
int level)
- Specified by:
addWarningSwitch in class CommandLineCompiler
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
- Specified by:
changeEnvironment in interface Processor- Overrides:
changeEnvironment in class AbstractProcessor
createPrecompileGeneratingConfig
protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig,
File prototype,
String lastInclude)
- Specified by:
createPrecompileGeneratingConfig in class PrecompilingCommandLineCompiler
createPrecompileUsingConfig
protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig,
File prototype,
String lastInclude,
String[] exceptFiles)
- Specified by:
createPrecompileUsingConfig in class PrecompilingCommandLineCompiler
getDefineSwitch
protected void getDefineSwitch(StringBuffer buffer,
String define,
String value)
- Specified by:
getDefineSwitch in class CommandLineCompiler
getEnvironmentIncludePath
protected File[] getEnvironmentIncludePath()
- Specified by:
getEnvironmentIncludePath in class CommandLineCompiler
getIncludeDirSwitch
protected String getIncludeDirSwitch(String includeDir)
- Specified by:
getIncludeDirSwitch in class CommandLineCompiler
getLinker
public Linker getLinker(LinkType type)
- Description copied from interface:
Processor
- Gets the linker that is associated with this processors
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLength in class CommandLineCompiler
getUndefineSwitch
protected void getUndefineSwitch(StringBuffer buffer,
String define)
- Specified by:
getUndefineSwitch in class CommandLineCompiler
Copyright © 2001-2013. All Rights Reserved.