default

Description

The default tag is a component which is used in a switch statement. It is used when no other case statement matches.

Parameters

None.

Parameters specified as nested elements

The following tags may be used in a default statement:

arg

value

switch

arglist

Examples

<switch attribute="debug"
<case value="true">
<arg value="-g"/>
</case>
<default>
<arg value="-Os"/>
</default>
</switch>
The above example will add"-g" or "-Os" to the command line depending on the value of the attribute "debug".