Class BorlandCCompiler
- All Implemented Interfaces:
Cloneable
,Compiler
,PrecompilingCompiler
,Processor
Adapter for the Borland(r) C/C++ compiler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String[]
private static final BorlandCCompiler
private static final String[]
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
BorlandCCompiler
(boolean newEnvironment, org.apache.tools.ant.types.Environment env) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addImpliedArgs
(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected void
addWarningSwitch
(Vector args, int level) 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[]
protected String
getIncludeDirSwitch
(String includeDir) static BorlandCCompiler
Gets the linker that is associated with this processorsint
protected void
getUndefineSwitch
(StringBuffer buffer, String define) Methods inherited from class net.sf.antcontrib.cpptasks.compiler.PrecompilingCommandLineCCompiler
createParser
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.PrecompilingCommandLineCompiler
createPrecompileConfigurations
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Field Details
-
headerExtensions
-
sourceExtensions
-
instance
-
-
Constructor Details
-
BorlandCCompiler
private BorlandCCompiler(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
-
-
Method Details
-
getInstance
-
addImpliedArgs
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) - Specified by:
addImpliedArgs
in classCommandLineCompiler
-
addWarningSwitch
- Specified by:
addWarningSwitch
in classCommandLineCompiler
-
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env) - Specified by:
changeEnvironment
in interfaceProcessor
- Overrides:
changeEnvironment
in classAbstractProcessor
-
createPrecompileGeneratingConfig
protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude) - Specified by:
createPrecompileGeneratingConfig
in classPrecompilingCommandLineCompiler
-
createPrecompileUsingConfig
protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles) - Specified by:
createPrecompileUsingConfig
in classPrecompilingCommandLineCompiler
-
getDefineSwitch
- Specified by:
getDefineSwitch
in classCommandLineCompiler
-
getEnvironmentIncludePath
- Specified by:
getEnvironmentIncludePath
in classCommandLineCompiler
-
getIncludeDirSwitch
- Specified by:
getIncludeDirSwitch
in classCommandLineCompiler
-
getLinker
Description copied from interface:Processor
Gets the linker that is associated with this processors -
getMaximumCommandLength
public int getMaximumCommandLength()- Specified by:
getMaximumCommandLength
in classCommandLineCompiler
-
getUndefineSwitch
- Specified by:
getUndefineSwitch
in classCommandLineCompiler
-