public abstract class GccCompatibleCCompiler extends CommandLineCCompiler
objDir, workDir
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
限定符 | 构造器和说明 |
---|---|
protected |
GccCompatibleCCompiler(String command,
String identifierArg,
boolean libtool,
GccCompatibleCCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Private constructor.
|
protected |
GccCompatibleCCompiler(String command,
String identifierArg,
String[] sourceExtensions,
String[] headerExtensions,
boolean libtool,
GccCompatibleCCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Private constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
addImpliedArgs(Vector<String> args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) |
void |
addIncludePath(String path,
Vector<String> cmd)
Adds an include path to the command.
|
void |
addWarningSwitch(Vector<String> args,
int level) |
protected int |
getArgumentCountPerInputFile() |
void |
getDefineSwitch(StringBuffer buffer,
String define,
String value) |
protected File[] |
getEnvironmentIncludePath() |
String |
getIncludeDirSwitch(String includeDir) |
String |
getIncludeDirSwitch(String includeDir,
boolean isSystem)
Added by Darren Sargent 22Oct2008 Returns the include dir switch value.
|
protected String |
getInputFileArgument(File outputDir,
String filename,
int index) |
void |
getUndefineSwitch(StringBuffer buffer,
String define) |
createParser
addIncludes, buildDefineArguments, compile, createConfiguration, getCommand, getCommandWithPath, getIdentifier, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDir
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
bid, changeEnvironment, getLinker
protected GccCompatibleCCompiler(String command, String identifierArg, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
protected GccCompatibleCCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
public void addImpliedArgs(Vector<String> args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
在类中 CommandLineCompiler
public void addIncludePath(String path, Vector<String> cmd)
public void addWarningSwitch(Vector<String> args, int level)
addWarningSwitch
在类中 CommandLineCompiler
protected int getArgumentCountPerInputFile()
protected String getInputFileArgument(File outputDir, String filename, int index)
public void getDefineSwitch(StringBuffer buffer, String define, String value)
getDefineSwitch
在类中 CommandLineCompiler
protected File[] getEnvironmentIncludePath()
public String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch
在类中 CommandLineCompiler
public String getIncludeDirSwitch(String includeDir, boolean isSystem)
CommandLineCompiler
getIncludeDirSwitch
在类中 CommandLineCompiler
includeDir
- the given source value.isSystem
- "true" if this is a system include pathpublic void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch
在类中 CommandLineCompiler
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.