Class DevStudioCompatibleCCompiler
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
net.sf.antcontrib.cpptasks.compiler.PrecompilingCommandLineCompiler
net.sf.antcontrib.cpptasks.compiler.PrecompilingCommandLineCCompiler
net.sf.antcontrib.cpptasks.devstudio.DevStudioCompatibleCCompiler
- All Implemented Interfaces:
Cloneable
,Compiler
,PrecompilingCompiler
,Processor
- Direct Known Subclasses:
DevStudio2005CCompiler
,DevStudioCCompiler
,IntelWin32CCompiler
,IntelWin64CCompiler
An abstract base class for compilers that are basically command line
compatible with Microsoft(r) C/C++ Optimizing Compiler
-
Field Summary
FieldsFields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DevStudioCompatibleCCompiler
(String command, String identifierArg, boolean newEnvironment, org.apache.tools.ant.types.Environment env) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDebugSwitch
(Vector args) protected void
addImpliedArgs
(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected void
addWarningSwitch
(Vector args, int level) 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) 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, getMaximumCommandLength, 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, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid, changeEnvironment, getLinker
-
Field Details
-
mflags
-
-
Constructor Details
-
DevStudioCompatibleCCompiler
-
-
Method Details
-
addImpliedArgs
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) - Specified by:
addImpliedArgs
in classCommandLineCompiler
-
addDebugSwitch
-
addWarningSwitch
- Specified by:
addWarningSwitch
in classCommandLineCompiler
-
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
-
getUndefineSwitch
- Specified by:
getUndefineSwitch
in classCommandLineCompiler
-