|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.antcontrib.cpptasks.platforms.WindowsPlatform
public final class WindowsPlatform
Platform specific behavior for Microsoft Windows.
| Method Summary | |
|---|---|
static 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. |
static short[] |
parseVersion(String version)
Parse version string into array of four short values. |
static void |
writeResource(Writer writer,
VersionInfo versionInfo,
File outputFile,
boolean isDebug,
LinkType linkType)
Writes windows resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
throws IOException
versionInfo - version informationlinkType - link typeisDebug - true if debug buildoutputFile - name of generated executableobjDir - directory for generated filesmatcher - bidded fileset
IOException - if unable to write version resourcepublic static short[] parseVersion(String version)
version - String version
public static void writeResource(Writer writer,
VersionInfo versionInfo,
File outputFile,
boolean isDebug,
LinkType linkType)
throws IOException
writer - writer, may not be nulversionInfo - version informationoutputFile - executable fileisDebug - true if debuglinkType - link type
IOException - if error writing resource file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||