public final class MsvcMessageCompiler extends CommandLineCompiler
objDir, workDirDEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| Modifier and Type | Method and Description |
|---|---|
protected void |
addImpliedArgs(Vector<String> args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) |
protected void |
addIncludes(String baseDirPath,
File[] includeDirs,
Vector<String> args,
Vector<String> relativeArgs,
StringBuffer includePathId,
boolean isSystem)
Adds command-line arguments for include directories.
|
protected void |
addWarningSwitch(Vector<String> 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 CompilerConfiguration |
createConfiguration(CCTask task,
LinkType linkType,
ProcessorDef[] baseDefs,
CompilerDef specificDef,
TargetDef targetPlatform,
VersionInfo versionInfo) |
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 MsvcMessageCompiler |
getInstance() |
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
protected int |
getMaximumInputFilesPerCommand() |
protected void |
getUndefineSwitch(StringBuffer buffer,
String define) |
buildDefineArguments, compile, getCommand, getCommandWithPath, getIncludeDirSwitch, getLibtool, getLibtoolCompiler, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommandcreateConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDirbid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toStringpublic static MsvcMessageCompiler getInstance()
protected void addImpliedArgs(Vector<String> args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs in class CommandLineCompilerprotected void addIncludes(String baseDirPath, File[] includeDirs, Vector<String> args, Vector<String> relativeArgs, StringBuffer includePathId, boolean isSystem)
CommandLineCompileraddIncludes in class CommandLineCompilerbaseDirPath - 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 void addWarningSwitch(Vector<String> args, int level)
addWarningSwitch in class CommandLineCompilerprotected boolean canParse(File sourceFile)
AbstractCompilercanParse in class AbstractCompilerpublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment in interface ProcessorchangeEnvironment in class AbstractProcessorprotected Parser createParser(File source)
createParser in class AbstractCompilerprotected CompilerConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] baseDefs, CompilerDef specificDef, TargetDef targetPlatform, VersionInfo versionInfo)
createConfiguration in class CommandLineCompilerprotected int getArgumentCountPerInputFile()
getArgumentCountPerInputFile in class CommandLineCompilerprotected void getDefineSwitch(StringBuffer buffer, String define, String value)
getDefineSwitch in class CommandLineCompilerprotected File[] getEnvironmentIncludePath()
getEnvironmentIncludePath in class CommandLineCompilerpublic String getIdentifier()
ProcessorgetIdentifier in interface ProcessorgetIdentifier in class CommandLineCompilerprotected String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch in class CommandLineCompilerprotected String getInputFileArgument(File outputDir, String filename, int index)
getInputFileArgument in class CommandLineCompilerpublic Linker getLinker(LinkType type)
Processorpublic int getMaximumCommandLength()
getMaximumCommandLength in class CommandLineCompilerprotected int getMaximumInputFilesPerCommand()
getMaximumInputFilesPerCommand in class CommandLineCompilerprotected void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch in class CommandLineCompilerCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.