com.github.maven_nar.cpptasks.devstudio
Class DevStudioCompatibleLibrarian
java.lang.Object
com.github.maven_nar.cpptasks.compiler.AbstractProcessor
com.github.maven_nar.cpptasks.compiler.AbstractLinker
com.github.maven_nar.cpptasks.compiler.CommandLineLinker
com.github.maven_nar.cpptasks.devstudio.DevStudioCompatibleLibrarian
- All Implemented Interfaces:
- Linker, Processor, Cloneable
- Direct Known Subclasses:
- DevStudioLibrarian, IntelWin32Librarian
public abstract class DevStudioCompatibleLibrarian
- extends CommandLineLinker
Abstract base adapter for librarians with command line options compatible
with the Microsoft(r) Library Manager
- Author:
- Curt Arnold
| Methods inherited from class com.github.maven_nar.cpptasks.compiler.CommandLineLinker |
addBase, addEntry, addFixed, addIncremental, addLibrarySets, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand |
| Methods inherited from interface com.github.maven_nar.cpptasks.compiler.Linker |
getLinker |
DevStudioCompatibleLibrarian
public DevStudioCompatibleLibrarian(String command,
String identifierArg)
addImpliedArgs
protected void addImpliedArgs(CCTask task,
boolean debug,
LinkType linkType,
Vector args)
- Overrides:
addImpliedArgs in class CommandLineLinker
getCommandFileSwitch
protected String getCommandFileSwitch(String cmdFile)
- Specified by:
getCommandFileSwitch in class CommandLineLinker
getLibraryPath
public File[] getLibraryPath()
- Description copied from interface:
Linker
- returns the library path for the linker
getLibraryPatterns
public String[] getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
- Description copied from interface:
Linker
- Returns a set of filename patterns corresponding to library names.
For example, "advapi32" would be expanded to "advapi32.dll" by
DevStudioLinker and to "libadvapi32.a" and "libadvapi32.so" by
GccLinker.
- Parameters:
libnames - array of library names
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLength in class CommandLineLinker
getOutputFileSwitch
public String[] getOutputFileSwitch(String outFile)
- Specified by:
getOutputFileSwitch in class CommandLineLinker
isCaseSensitive
public boolean isCaseSensitive()
- Description copied from interface:
Linker
- Returns true if the linker is case-sensitive
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.