make/uwproj.xsd

changeset 1492
cc83ce484bf7
parent 1470
c1a144db699f
equal deleted inserted replaced
1491:b529528b8f0a 1492:cc83ce484bf7
226 <xs:complexType name="OptionType"> 226 <xs:complexType name="OptionType">
227 <xs:annotation> 227 <xs:annotation>
228 <xs:documentation> 228 <xs:documentation>
229 Declares a configuration option. 229 Declares a configuration option.
230 The option argument name is specified with the <code>arg</code> attribute. 230 The option argument name is specified with the <code>arg</code> attribute.
231 Then, the children of this element specify possible <code>values</code> by defining the conditions 231 Optionally, a description for the help text of the resulting configure script can be specified by
232 a <code>desc</code> element.
233 Then, the next children of this element specify possible <code>values</code> by defining the conditions
232 (in terms of dependencies) and effects (in terms of defines and make variables) of each value. 234 (in terms of dependencies) and effects (in terms of defines and make variables) of each value.
233 Finally, a set of <code>default</code>s is specified which supposed to automagically select the most 235 Finally, a set of <code>default</code>s is specified which supposed to automagically select the most
234 appropriate value for a specific platform under the available dependencies (in case the option is not 236 appropriate value for a specific platform under the available dependencies (in case the option is not
235 explicitly specified by using the command line argument). 237 explicitly specified by using the command line argument).
236 </xs:documentation> 238 </xs:documentation>
237 </xs:annotation> 239 </xs:annotation>
238 <xs:sequence> 240 <xs:sequence>
241 <xs:element name="desc" type="xs:string" minOccurs="0"/>
239 <xs:element name="value" type="OptionValueType" minOccurs="0" maxOccurs="unbounded"/> 242 <xs:element name="value" type="OptionValueType" minOccurs="0" maxOccurs="unbounded"/>
240 <xs:element name="default" type="OptionDefaultType" minOccurs="0" maxOccurs="unbounded"/> 243 <xs:element name="default" type="OptionDefaultType" minOccurs="0" maxOccurs="unbounded"/>
241 </xs:sequence> 244 </xs:sequence>
242 <xs:attribute name="arg" type="xs:string" use="required"/> 245 <xs:attribute name="arg" type="xs:string" use="required"/>
243 </xs:complexType> 246 </xs:complexType>

mercurial