public final class BorlandProcessor extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addWarningSwitch(Vector<String> args,
int level) |
static void |
getDefineSwitch(StringBuffer buffer,
String define,
String value) |
static File[] |
getEnvironmentPath(String toolName,
char switchChar,
String[] defaultRelativePath)
This method extracts path information from the appropriate .cfg file in
the install directory.
|
static String |
getIncludeDirSwitch(String includeOption,
String includeDir) |
static String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType) |
static String[] |
getOutputFileSwitch(String outFile) |
static void |
getUndefineSwitch(StringBuffer buffer,
String define) |
static boolean |
isCaseSensitive() |
static String[] |
prepareResponseFile(File outputFile,
String[] args,
String continuation)
Prepares argument list to execute the linker using a response file.
|
static void |
quoteFile(StringBuffer buf,
String outPath) |
public static void getDefineSwitch(StringBuffer buffer, String define, String value)
public static File[] getEnvironmentPath(String toolName, char switchChar, String[] defaultRelativePath)
toolName
- Tool name, for example, "bcc32", "brc32", "ilink32"switchChar
- Command line switch character, for example "L" for librariesdefaultRelativePath
- default path relative to executable directorypublic static String getIncludeDirSwitch(String includeOption, String includeDir)
public static String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
public static void getUndefineSwitch(StringBuffer buffer, String define)
public static boolean isCaseSensitive()
public static String[] prepareResponseFile(File outputFile, String[] args, String continuation) throws IOException
outputFile
- linker output fileargs
- output of prepareArgumentsIOException
public static void quoteFile(StringBuffer buf, String outPath)
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.