src/main/resources/make/uwproj.xsd

changeset 123
d89b75fdf0aa
parent 120
0e3827ebc6e4
equal deleted inserted replaced
122:5706694c17c4 123:d89b75fdf0aa
194 <xs:documentation> 194 <xs:documentation>
195 Declares an optional feature, that can be enabled during configuration, if all 195 Declares an optional feature, that can be enabled during configuration, if all
196 <code>dependencies</code> are satisfied. 196 <code>dependencies</code> are satisfied.
197 If a feature is enabled, all <code>define</code> and <code>make</code> definitions are 197 If a feature is enabled, all <code>define</code> and <code>make</code> definitions are
198 supposed to be applied to the config file. 198 supposed to be applied to the config file.
199 If a feature is disabled, an optional <code>disabled</code> element may specify which
200 <code>define</code> and <code>make</code> definitions are supposed to be applied.
201 There might also be <code>dependencies</code> when the feature is disabled (e.g. specifying a fallback).
199 In case the optional <code>default</code> attribute is set to true, the feature is enabled by default 202 In case the optional <code>default</code> attribute is set to true, the feature is enabled by default
200 and is supposed to be automatically disabled (without error) when the dependencies are not satisfied. 203 and is supposed to be automatically disabled (without error) when the dependencies are not satisfied.
201 The name that is supposed to be used for the --enable and --disable arguments can be optionally 204 The name that is supposed to be used for the --enable and --disable arguments can be optionally
202 specified with the <code>arg</code> attribute. Otherwise, the <code>name</code> is used by default. 205 specified with the <code>arg</code> attribute. Otherwise, the <code>name</code> is used by default.
203 Optionally, a description for the help text of the resulting configure script can be specified by 206 Optionally, a description for the help text of the resulting configure script can be specified by
205 </xs:documentation> 208 </xs:documentation>
206 </xs:annotation> 209 </xs:annotation>
207 <xs:choice minOccurs="0" maxOccurs="unbounded"> 210 <xs:choice minOccurs="0" maxOccurs="unbounded">
208 <xs:group ref="TargetDataGroup"/> 211 <xs:group ref="TargetDataGroup"/>
209 <xs:element name="desc" type="xs:string"/> 212 <xs:element name="desc" type="xs:string"/>
213 <xs:element name="disabled">
214 <xs:complexType>
215 <xs:choice minOccurs="0" maxOccurs="unbounded">
216 <xs:group ref="TargetDataGroup"/>
217 </xs:choice>
218 </xs:complexType>
219 </xs:element>
210 </xs:choice> 220 </xs:choice>
211 <xs:attribute name="name" type="xs:string" use="required"/> 221 <xs:attribute name="name" type="xs:string" use="required"/>
212 <xs:attribute name="arg" type="xs:string"/> 222 <xs:attribute name="arg" type="xs:string"/>
213 <xs:attribute name="default" type="xs:boolean" default="false"/> 223 <xs:attribute name="default" type="xs:boolean" default="false"/>
214 </xs:complexType> 224 </xs:complexType>

mercurial