|
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<C>
com.codemesh.terp.ant.compiler.BooleanCompilerOption<CppCompiler>
com.codemesh.terp.ant.compiler.cpp.ExceptionsOption
public class ExceptionsOption
The option governing whether exceptions are supported or not. Not all C++ compilers support the explicit enabling/disabling of exceptions via a compielr switch, so this is not a completely portable option.
| Constructor Summary | |
|---|---|
ExceptionsOption()
|
|
| 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 |
getSynchronous()
|
void |
setSynchronous(java.lang.String sync)
Specify synchronous exception handling for MSVC++ and Intel C++ on Windows. |
| Methods inherited from class com.codemesh.terp.ant.compiler.BooleanCompilerOption |
|---|
getValue, isEnabled, setValue |
| 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 ExceptionsOption()
| Method Detail |
|---|
public void setSynchronous(java.lang.String sync)
sync - a boolean expression.public java.lang.String getSynchronous()
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.
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 | |||||||||