net.sf.antcontrib.cpptasks.devstudio
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
Direct Known Subclasses:
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

Constructor Summary
protected DevStudioCompatibleCCompiler(java.lang.String command, java.lang.String identifierArg)
           
 
Method Summary
protected  void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType)
           
protected  void addWarningSwitch(java.util.Vector args, int level)
           
protected  CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude)
           
protected  CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude, java.lang.String[] exceptFiles)
           
protected  void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)
           
protected  java.io.File[] getEnvironmentIncludePath()
           
protected  java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
           
protected  void getUndefineSwitch(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, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileName, parseIncludes, resolveInclude
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, getIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DevStudioCompatibleCCompiler

protected DevStudioCompatibleCCompiler(java.lang.String command,
                                       java.lang.String identifierArg)
Method Detail

getEnvironmentIncludePath

protected java.io.File[] getEnvironmentIncludePath()
Overrides:
getEnvironmentIncludePath in class CommandLineCompiler

getIncludeDirSwitch

protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
Overrides:
getIncludeDirSwitch in class CommandLineCompiler

addWarningSwitch

protected void addWarningSwitch(java.util.Vector args,
                                int level)
Overrides:
addWarningSwitch in class CommandLineCompiler

getDefineSwitch

protected void getDefineSwitch(java.lang.StringBuffer buffer,
                               java.lang.String define,
                               java.lang.String value)
Overrides:
getDefineSwitch in class CommandLineCompiler

getUndefineSwitch

protected void getUndefineSwitch(java.lang.StringBuffer buffer,
                                 java.lang.String define)
Overrides:
getUndefineSwitch in class CommandLineCompiler

addImpliedArgs

protected void addImpliedArgs(java.util.Vector args,
                              boolean debug,
                              boolean multithreaded,
                              boolean exceptions,
                              LinkType linkType)
Overrides:
addImpliedArgs in class CommandLineCompiler

createPrecompileGeneratingConfig

protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig,
                                                                 java.io.File prototype,
                                                                 java.lang.String lastInclude)
Overrides:
createPrecompileGeneratingConfig in class PrecompilingCommandLineCompiler

createPrecompileUsingConfig

protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig,
                                                            java.io.File prototype,
                                                            java.lang.String lastInclude,
                                                            java.lang.String[] exceptFiles)
Overrides:
createPrecompileUsingConfig in class PrecompilingCommandLineCompiler


Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.