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:
java.lang.Cloneable,Compiler,PrecompilingCompiler,Processor
- Direct Known Subclasses:
DevStudio2005CCompiler,DevStudioCCompiler,IntelWin32CCompiler,IntelWin64CCompiler
public abstract class DevStudioCompatibleCCompiler extends PrecompilingCommandLineCCompiler
An abstract base class for compilers that are basically command line compatible with Microsoft(r) C/C++ Optimizing Compiler- Author:
- Curt Arnold
-
-
Field Summary
-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDevStudioCompatibleCCompiler(java.lang.String command, java.lang.String identifierArg, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDebugSwitch(java.util.Vector args)protected voidaddImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)protected voidaddWarningSwitch(java.util.Vector args, int level)protected CompilerConfigurationcreatePrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude)protected CompilerConfigurationcreatePrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude, java.lang.String[] exceptFiles)protected voidgetDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)protected java.io.File[]getEnvironmentIncludePath()protected java.lang.StringgetIncludeDirSwitch(java.lang.String includeDir)protected voidgetUndefineSwitch(java.lang.StringBuffer buffer, java.lang.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
-
-
-
-
Method Detail
-
addImpliedArgs
protected void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)- Specified by:
addImpliedArgsin classCommandLineCompiler
-
addDebugSwitch
protected void addDebugSwitch(java.util.Vector args)
-
addWarningSwitch
protected void addWarningSwitch(java.util.Vector args, int level)- Specified by:
addWarningSwitchin classCommandLineCompiler
-
createPrecompileGeneratingConfig
protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude)
- Specified by:
createPrecompileGeneratingConfigin classPrecompilingCommandLineCompiler
-
createPrecompileUsingConfig
protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude, java.lang.String[] exceptFiles)
- Specified by:
createPrecompileUsingConfigin classPrecompilingCommandLineCompiler
-
getDefineSwitch
protected void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)- Specified by:
getDefineSwitchin classCommandLineCompiler
-
getEnvironmentIncludePath
protected java.io.File[] getEnvironmentIncludePath()
- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler
-
getIncludeDirSwitch
protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getUndefineSwitch
protected void getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)- Specified by:
getUndefineSwitchin classCommandLineCompiler
-
-