net.sf.antcontrib.cpptasks.compiler

Class CommandLineCCompiler

Implemented Interfaces:
Cloneable, Compiler, Processor
Known Direct 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

CommandLineCCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, String outputSuffix, boolean libtool, CommandLineCCompiler libtoolCompiler, boolean newEnvironment, Environment env)

Method Summary

protected Parser
createParser(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, createConfiguration, createParser, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor

bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString

Constructor Details

CommandLineCCompiler

protected CommandLineCCompiler(String command,
                               String identifierArg,
                               String[] sourceExtensions,
                               String[] headerExtensions,
                               String outputSuffix,
                               boolean libtool,
                               CommandLineCCompiler libtoolCompiler,
                               boolean newEnvironment,
                               Environment env)

Method Details

createParser

protected Parser createParser(File source)
Overrides:
createParser in interface AbstractCompiler

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.