public final class DevStudioMessageCompiler extends CommandLineCompiler
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier and Type | Method and Description |
---|---|
protected void |
addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) |
protected void |
addIncludes(String baseDirPath,
File[] includeDirs,
Vector args,
Vector relativeArgs,
StringBuffer includePathId,
boolean isSystem)
Adds command-line arguments for include directories.
|
protected void |
addWarningSwitch(Vector args,
int level) |
protected boolean |
canParse(File sourceFile)
Checks file name to see if parse should be attempted
Default implementation returns false for files with extensions '.dll',
'tlb', '.res'
|
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
protected Parser |
createParser(File source) |
protected int |
getArgumentCountPerInputFile() |
protected void |
getDefineSwitch(StringBuffer buffer,
String define,
String value) |
protected File[] |
getEnvironmentIncludePath() |
String |
getIdentifier()
Retrieve an identifier that identifies the specific version of the
compiler.
|
protected String |
getIncludeDirSwitch(String includeDir) |
protected String |
getInputFileArgument(File outputDir,
String filename,
int index) |
static DevStudioMessageCompiler |
getInstance() |
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
protected int |
getMaximumInputFilesPerCommand() |
protected int |
getTotalArgumentLengthForInputFile(File outputDir,
String inputFile) |
protected void |
getUndefineSwitch(StringBuffer buffer,
String define) |
buildDefineArguments, compile, createConfiguration, getCommand, getCommandWithPath, getIncludeDirSwitch, getLibtool, getLibtoolCompiler, runCommand, setCommand
createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static DevStudioMessageCompiler getInstance()
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
in class CommandLineCompiler
protected void addWarningSwitch(Vector args, int level)
addWarningSwitch
in class CommandLineCompiler
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
in interface Processor
changeEnvironment
in class AbstractProcessor
protected boolean canParse(File sourceFile)
AbstractCompiler
canParse
in class AbstractCompiler
protected Parser createParser(File source)
createParser
in class AbstractCompiler
protected int getArgumentCountPerInputFile()
getArgumentCountPerInputFile
in class CommandLineCompiler
protected void getDefineSwitch(StringBuffer buffer, String define, String value)
getDefineSwitch
in class CommandLineCompiler
protected File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class CommandLineCompiler
protected void addIncludes(String baseDirPath, File[] includeDirs, Vector args, Vector relativeArgs, StringBuffer includePathId, boolean isSystem)
CommandLineCompiler
addIncludes
in class CommandLineCompiler
baseDirPath
- Base directory path.includeDirs
- Array of include directory pathsargs
- Vector of command line arguments used to execute the taskrelativeArgs
- Vector of command line arguments used to build the
configuration identifierprotected String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch
in class CommandLineCompiler
protected String getInputFileArgument(File outputDir, String filename, int index)
getInputFileArgument
in class CommandLineCompiler
public Linker getLinker(LinkType type)
Processor
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineCompiler
protected int getMaximumInputFilesPerCommand()
getMaximumInputFilesPerCommand
in class CommandLineCompiler
protected int getTotalArgumentLengthForInputFile(File outputDir, String inputFile)
getTotalArgumentLengthForInputFile
in class CommandLineCompiler
protected void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch
in class CommandLineCompiler
public String getIdentifier()
Processor
getIdentifier
in interface Processor
getIdentifier
in class CommandLineCompiler
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.