net.sf.antcontrib.cpptasks.compiler
Class CommandLineCCompiler

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
      extended by net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
          extended by net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
              extended by net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
All Implemented Interfaces:
java.lang.Cloneable, Compiler, Processor
Direct Known Subclasses:
ADSCCompiler, C89CCompiler, ClxxCCompiler, GccCompatibleCCompiler, IccCompiler, OS390CCompiler

public abstract class CommandLineCCompiler
extends CommandLineCompiler

An abstract Compiler implementation which uses an external program to perform the compile.

Author:
Adam Murdoch

Field Summary
 
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
 
Constructor Summary
protected CommandLineCCompiler(java.lang.String command, java.lang.String identifierArg, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions, java.lang.String outputSuffix, boolean libtool, CommandLineCCompiler libtoolCompiler, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
           
 
Method Summary
protected  Parser createParser(java.io.File source)
           
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addImpliedArgs, addIncludes, addWarningSwitch, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getDefineSwitch, getEnvironmentIncludePath, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, getUndefineSwitch, 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
 

Constructor Detail

CommandLineCCompiler

protected CommandLineCCompiler(java.lang.String command,
                               java.lang.String identifierArg,
                               java.lang.String[] sourceExtensions,
                               java.lang.String[] headerExtensions,
                               java.lang.String outputSuffix,
                               boolean libtool,
                               CommandLineCCompiler libtoolCompiler,
                               boolean newEnvironment,
                               org.apache.tools.ant.types.Environment env)
Method Detail

createParser

protected Parser createParser(java.io.File source)
Specified by:
createParser in class AbstractCompiler


Copyright 2001-2008 Ant-Contrib Project. All Rights Reserved.