net.sf.antcontrib.cpptasks.gcc
Class GccCompatibleCCompiler
- Cloneable, Compiler, Processor
public abstract class GccCompatibleCCompiler
Abstract base class for compilers that attempt to be command line compatible
with GCC
GccCompatibleCCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, Environment env) - Private constructor.
|
GccCompatibleCCompiler(String command, String identifierArg, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, Environment env) - Private constructor.
|
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)
|
addImpliedArgs , addIncludes , addWarningSwitch , buildDefineArguments , compile , createConfiguration , getArgumentCountPerInputFile , getCommand , getDefineSwitch , getEnvironmentIncludePath , getIdentifier , getIncludeDirSwitch , getInputFileArgument , getLibtool , getLibtoolCompiler , getMaximumCommandLength , getMaximumInputFilesPerCommand , getTotalArgumentLengthForInputFile , getUndefineSwitch , runCommand , setCommand |
bid , changeEnvironment , clone , getHeaderExtensions , getIdentifier , getIdentifier , getOSArch , getOSName , getSourceExtensions , isDarwin , toString |
GccCompatibleCCompiler
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.
GccCompatibleCCompiler
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.
addIncludePath
public void addIncludePath(String path,
Vector cmd)
Adds an include path to the command.
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.