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
- Author:
- Curt Arnold
-
Field Summary
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDevStudioCompatibleCCompiler(String command, String identifierArg, boolean newEnvironment, org.apache.tools.ant.types.Environment env) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDebugSwitch(Vector args) protected voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected voidaddWarningSwitch(Vector args, int level) protected CompilerConfigurationcreatePrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude) protected CompilerConfigurationcreatePrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles) protected voidgetDefineSwitch(StringBuffer buffer, String define, String value) protected File[]protected StringgetIncludeDirSwitch(String includeDir) protected voidgetUndefineSwitch(StringBuffer buffer, String define) Methods inherited from class net.sf.antcontrib.cpptasks.compiler.PrecompilingCommandLineCCompiler
createParserMethods inherited from class net.sf.antcontrib.cpptasks.compiler.PrecompilingCommandLineCompiler
createPrecompileConfigurationsMethods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommandMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludeMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid, changeEnvironment, getLinker
-
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:
addImpliedArgsin classCommandLineCompiler
-
addDebugSwitch
-
addWarningSwitch
- Specified by:
addWarningSwitchin classCommandLineCompiler
-
createPrecompileGeneratingConfig
protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude) - Specified by:
createPrecompileGeneratingConfigin classPrecompilingCommandLineCompiler
-
createPrecompileUsingConfig
protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles) - Specified by:
createPrecompileUsingConfigin classPrecompilingCommandLineCompiler
-
getDefineSwitch
- Specified by:
getDefineSwitchin classCommandLineCompiler
-
getEnvironmentIncludePath
- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler
-
getIncludeDirSwitch
- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getUndefineSwitch
- Specified by:
getUndefineSwitchin classCommandLineCompiler
-