|
terp - the ANT Tasks v1.3.304 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemesh.terp.ant.compiler.AbstractCompilerOption<CppCompiler>
com.codemesh.terp.ant.compiler.cpp.RuntimeOption
public class RuntimeOption
The option specifying runtime settings. This option applies to Microsoft and Intel compilers on Windows as well as QNX compilers on all platforms.
| Constructor Summary | |
|---|---|
RuntimeOption()
|
|
| Method Summary | |
|---|---|
void |
addCommands(java.util.List<java.lang.String> commandList,
CppCompiler compiler,
CompilerPhase phase)
Adds the compiler switches repreesnted by this option to the list of switches. |
boolean |
appliesTo(CppCompiler compiler,
CompilerPhase phase)
Returns true if this compiler option applies to the given compiler and compiler phase. |
java.lang.String |
getFlavor()
The flavor that is supposed to have a meaning for the target compiler. |
void |
setDebug(boolean bDebug)
Specifies that the debug runtime should be used. |
void |
setDynamic(boolean bDynamic)
Specifies that the dynamic runtime should be used. |
void |
setFlavor(java.lang.String flavor)
Specifies a runtime flavor that has a meaning for one or more compilers. |
void |
setStatic(boolean bStatic)
Specifies that the static runtime should be used. |
| Methods inherited from class com.codemesh.terp.ant.compiler.AbstractCompilerOption |
|---|
expand, expand, getIf, getProject, getUnless, quoteIfNecessary, satisfies, setIf, setProject, setUnless |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeOption()
| Method Detail |
|---|
public void setFlavor(java.lang.String flavor)
| Flavor | Value |
|---|---|
| Abridged C++ | abridged, acpp |
| Embedded C++ | embedded, ecpp, ec++ |
| C++ | standard, cpp, iso |
| GNU | gpp, gnu |
flavor - the flavor.public java.lang.String getFlavor()
public void setStatic(boolean bStatic)
bStatic - true if the static C++ runtime library is to be used.public void setDynamic(boolean bDynamic)
bDynamic - true if the dynamic C++ runtime is to be used.public void setDebug(boolean bDebug)
bDebug - true if the debug version of the runtime is to be used.
public void addCommands(java.util.List<java.lang.String> commandList,
CppCompiler compiler,
CompilerPhase phase)
This method is called by the compiler repeatedly with different values for the compiler phase to account for these possibilities. Only adds a setting on Windows for Microsoft and Intel compilers.
commandList - the list to which the compiler switches represented
by this option (if any) are added.compiler - the compiler for which we're doing this.phase - the compiler phase in wihch we're doing this.
public boolean appliesTo(CppCompiler compiler,
CompilerPhase phase)
compiler - the compiler for which we're asking.phase - the compiler phase we're executing.
|
terp - the ANT Tasks v1.3.304 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||