public abstract class AbstractLinker extends AbstractProcessor implements Linker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
构造器和说明 |
---|
AbstractLinker(String[] objExtensions,
String[] ignoredExtensions) |
限定符和类型 | 方法和说明 |
---|---|
void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to
support version information.
|
int |
bid(String inputFile)
Returns the bid of the processor for the file.
|
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
protected abstract LinkerConfiguration |
createConfiguration(CCTask task,
LinkType linkType,
ProcessorDef[] baseConfigs,
LinkerDef specificConfig,
TargetDef targetPlatform,
VersionInfo versionInfo) |
ProcessorConfiguration |
createConfiguration(CCTask task,
LinkType linkType,
ProcessorDef[] baseConfigs,
ProcessorDef specificConfig,
TargetDef targetPlatform,
VersionInfo versionInfo)
Returns the compiler configuration for
|
String |
getLibraryKey(File libfile)
Extracts the significant part of a library name to ensure there aren't
collisions
|
abstract String[] |
getOutputFileNames(String fileName,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
|
clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
getLibraryPath, getLibraryPatterns, getLinker, isCaseSensitive
getIdentifier
public void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher) throws IOException
addVersionFiles
在接口中 Linker
versionInfo
- version informationlinkType
- link typeisDebug
- true if debug buildoutputFile
- name of generated executableobjDir
- directory for generated filesmatcher
- bidded filesetIOException
public int bid(String inputFile)
bid
在接口中 Processor
bid
在类中 AbstractProcessor
inputFile
- filename of input filepublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
在接口中 Processor
changeEnvironment
在类中 AbstractProcessor
protected abstract LinkerConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] baseConfigs, LinkerDef specificConfig, TargetDef targetPlatform, VersionInfo versionInfo)
public ProcessorConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] baseConfigs, ProcessorDef specificConfig, TargetDef targetPlatform, VersionInfo versionInfo)
Processor
createConfiguration
在接口中 Processor
baseConfigs
- When specificConfig corresponds to a specificConfig
- A public String getLibraryKey(File libfile)
Linker
getLibraryKey
在接口中 Linker
public abstract String[] getOutputFileNames(String fileName, VersionInfo versionInfo)
Processor
getOutputFileNames
在接口中 Processor
fileName
- input fileCopyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.