public final class OpenWatcomProcessor extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addWarningSwitch(Vector<String> args,
int level)
Adds warning command line options.
|
static String |
getCommandFileSwitch(String cmdFile)
Gets command line option to read from an option file.
|
static void |
getDefineSwitch(StringBuffer buffer,
String define,
String value)
Creates a command line option to define a preprocessor macro.
|
static String |
getIncludeDirSwitch(String includeDir)
Create a command line option to add a directory to the include path.
|
static String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Get file selectors for specified libraries.
|
static String[] |
getOutputFileSwitch(String outPath)
Builds command line options to specify the output file names.
|
static void |
getUndefineSwitch(StringBuffer buffer,
String define)
Builds a command line option to undefine a preprocessor macro.
|
static boolean |
isCaseSensitive()
Gets whether processor tratement of file names is case-sensitive.
|
public static void addWarningSwitch(Vector<String> args, int level)
args
- Vector list of optionslevel
- int value of WarningLevelEnumpublic static String getCommandFileSwitch(String cmdFile)
cmdFile
- String file name for option filepublic static void getDefineSwitch(StringBuffer buffer, String define, String value)
buffer
- StringBuffer destination bufferdefine
- String parameter to definevalue
- String value, may be nullpublic static String getIncludeDirSwitch(String includeDir)
includeDir
- String directorypublic static String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
libnames
- library nameslibType
- library typepublic static String[] getOutputFileSwitch(String outPath)
outPath
- String path to output filepublic static void getUndefineSwitch(StringBuffer buffer, String define)
buffer
- StringBuffer destinationdefine
- String macro to be undefinedpublic static boolean isCaseSensitive()
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.