1.1 --- a/make/uwproj.xsd Wed Jan 17 21:01:50 2024 +0100 1.2 +++ b/make/uwproj.xsd Sat Jan 20 16:02:04 2024 +0100 1.3 @@ -3,7 +3,7 @@ 1.4 xmlns="http://unixwork.de/uwproj" 1.5 targetNamespace="http://unixwork.de/uwproj" 1.6 elementFormDefault="qualified" 1.7 - version="0.1" 1.8 + version="0.2" 1.9 > 1.10 <xs:element name="project" type="ProjectType"/> 1.11 1.12 @@ -102,9 +102,11 @@ 1.13 </p> 1.14 <p> 1.15 The optional <code>platform</code> attribute may specify a <em>single</em> platform identifier and 1.16 - the optional <code>not</code> attribute may specify a comma-separated list of platform identifiers. 1.17 - The configure script shall skip this dependency declaration if the detected platform is not 1.18 - matching the filter specification of these attributes. 1.19 + the optional <code>toolchain</code> attribute may specify a <em>single</em> toolchain. 1.20 + The optional <code>not</code> attribute may specify a comma-separated list of platform and/or 1.21 + toolchain identifiers. 1.22 + The configure script shall skip this dependency declaration if the detected platform and toolchain 1.23 + is not matching the filter specification of these attributes. 1.24 </p> 1.25 </xs:documentation> 1.26 </xs:annotation> 1.27 @@ -125,6 +127,7 @@ 1.28 </xs:choice> 1.29 <xs:attribute name="name" type="xs:string"/> 1.30 <xs:attribute name="platform" type="xs:string"/> 1.31 + <xs:attribute name="toolchain" type="xs:string"/> 1.32 <xs:attribute name="not" type="xs:string"/> 1.33 </xs:complexType> 1.34 1.35 @@ -186,6 +189,8 @@ 1.36 and is supposed to be automatically disabled (without error) when the dependencies are not satisfied. 1.37 The name that is supposed to be used for the --enable and --disable arguments can be optionally 1.38 specified with the <code>arg</code> attribute. Otherwise, the <code>name</code> is used by default. 1.39 + Optionally, a description for the help text of the resulting configure script can be specified by 1.40 + adding a <code>desc</code> element. 1.41 </xs:documentation> 1.42 </xs:annotation> 1.43 <xs:choice minOccurs="0" maxOccurs="unbounded"> 1.44 @@ -194,6 +199,7 @@ 1.45 <xs:attribute name="name" type="xs:string" use="required"/> 1.46 <xs:attribute name="arg" type="xs:string"/> 1.47 <xs:attribute name="default" type="xs:boolean" default="false"/> 1.48 + <xs:element name="desc" type="xs:string"/> 1.49 </xs:complexType> 1.50 1.51 <xs:complexType name="OptionType"> 1.52 @@ -278,4 +284,4 @@ 1.53 </xs:annotation> 1.54 <xs:restriction base="xs:string"/> 1.55 </xs:simpleType> 1.56 -</xs:schema> 1.57 \ No newline at end of file 1.58 +</xs:schema>