public final class MsvcMIDLCompiler extends CommandLineCompiler
objDir, workDir
DEFAULT_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 |
addWarningSwitch(Vector<String> args,
int level) |
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)
The include parser for C will work just fine, but we didn't want to
inherit from CommandLineCCompiler
|
protected int |
getArgumentCountPerInputFile() |
protected void |
getDefineSwitch(StringBuffer buffer,
String define,
String value) |
protected File[] |
getEnvironmentIncludePath() |
protected String |
getIncludeDirSwitch(String includeDir) |
protected String |
getInputFileArgument(File outputDir,
String filename,
int index) |
static MsvcMIDLCompiler |
getInstance() |
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
protected int |
getMaximumInputFilesPerCommand() |
String[] |
getOutputFileNames(String inputFile,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
|
protected void |
getUndefineSwitch(StringBuffer buffer,
String define) |
addIncludes, buildDefineArguments, compile, getCommand, getCommandWithPath, getIdentifier, getIncludeDirSwitch, getLibtool, getLibtoolCompiler, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDir
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static MsvcMIDLCompiler getInstance()
protected void addImpliedArgs(Vector<String> args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
in class CommandLineCompiler
protected void addWarningSwitch(Vector<String> 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 CompilerConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] baseDefs, CompilerDef specificDef, TargetDef targetPlatform, VersionInfo versionInfo)
createConfiguration
in class CommandLineCompiler
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 String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch
in class CommandLineCompiler
public String[] getOutputFileNames(String inputFile, VersionInfo versionInfo)
Processor
getOutputFileNames
in interface Processor
getOutputFileNames
in class CommandLineCompiler
inputFile
- input fileprotected 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 void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch
in class CommandLineCompiler
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.