net.sf.antcontrib.cpptasks.gcc
Class GccCompatibleCCompiler
public abstract
class
GccCompatibleCCompiler
extends CommandLineCCompiler
Abstract base class for compilers that attempt to be command line compatible
with GCC
Author: Adam Murdoch Curt Arnold
Constructor Summary |
protected | GccCompatibleCCompiler(String command, String identifierArg, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, Environment env)
Private constructor. |
protected | GccCompatibleCCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, Environment env)
Private constructor. |
Method Summary |
void | addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) |
void | addIncludePath(String path, Vector cmd)
Adds an include path to the command. |
void | addWarningSwitch(Vector args, int level) |
void | getDefineSwitch(StringBuffer buffer, String define, String value) |
protected File[] | getEnvironmentIncludePath() |
String | getIncludeDirSwitch(String includeDir) |
void | getUndefineSwitch(StringBuffer buffer, String define) |
protected GccCompatibleCCompiler(String command, String identifierArg, boolean libtool,
GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, Environment env)
Private constructor. Use GccCCompiler.getInstance() to get singleton
instance of this class.
protected GccCompatibleCCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean libtool,
GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, Environment env)
Private constructor. Use GccCCompiler.getInstance() to get singleton
instance of this class.
public void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions,
LinkType linkType, Boolean rtti,
OptimizationEnum optimization)
public void addIncludePath(String path, Vector cmd)
Adds an include path to the command.
public void addWarningSwitch(Vector args, int level)
public void getDefineSwitch(StringBuffer buffer, String define, String value)
protected File[] getEnvironmentIncludePath()
public String getIncludeDirSwitch(String includeDir)
public void getUndefineSwitch(StringBuffer buffer, String define)
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.