public abstract class PrecompilingCommandLineCompiler extends CommandLineCompiler implements PrecompilingCompiler
objDir, workDir
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
限定符 | 构造器和说明 |
---|---|
protected |
PrecompilingCommandLineCompiler(String command,
String identifierArg,
String[] sourceExtensions,
String[] headerExtensions,
String outputSuffix,
boolean libtool,
PrecompilingCommandLineCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
限定符和类型 | 方法和说明 |
---|---|
CompilerConfiguration[] |
createPrecompileConfigurations(CompilerConfiguration config,
File prototype,
String[] exceptFiles)
This method may be used to get two distinct compiler configurations, one
for compiling the specified file and producing a precompiled header
file, and a second for compiling other files using the precompiled
header file.
|
protected abstract CompilerConfiguration |
createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig,
File prototype,
String lastInclude) |
protected abstract CompilerConfiguration |
createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig,
File prototype,
String lastInclude,
String[] exceptFiles) |
addImpliedArgs, addIncludes, addWarningSwitch, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getCommandWithPath, getDefineSwitch, getEnvironmentIncludePath, getIdentifier, getIncludeDirSwitch, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, getUndefineSwitch, runCommand, setCommand
canParse, createConfiguration, createParser, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDir
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
bid, changeEnvironment, getLinker
protected PrecompilingCommandLineCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, String outputSuffix, boolean libtool, PrecompilingCommandLineCompiler libtoolCompiler, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
public CompilerConfiguration[] createPrecompileConfigurations(CompilerConfiguration config, File prototype, String[] exceptFiles)
createPrecompileConfigurations
在接口中 PrecompilingCompiler
config
- base configurationprototype
- A source file (for example, stdafx.cpp) that is used to build
the precompiled header file. @returns null if precompiled
headers are not supported or a two element array containing
the precompiled header generation configuration and the
consuming configurationprotected abstract CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude)
protected abstract CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles)
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.