make/uwproj.xsd

Thu, 11 Jul 2024 20:05:21 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 11 Jul 2024 20:05:21 +0200
changeset 80
0f1c55d2a90a
parent 72
b533da8e7411
permissions
-rw-r--r--

hotfix: ampersand not escaped in html output

72
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 xmlns="http://unixwork.de/uwproj"
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 targetNamespace="http://unixwork.de/uwproj"
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 elementFormDefault="qualified"
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 version="0.1"
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 >
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 <xs:element name="project" type="ProjectType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 <xs:complexType name="ProjectType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 <xs:sequence>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 <xs:element name="config" type="ConfigType" minOccurs="0"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 <xs:element name="dependency" type="DependencyType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 <xs:element name="target" type="TargetType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 </xs:sequence>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 <xs:complexType name="ConfigType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 <xs:sequence>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 <xs:element name="var" type="ConfigVarType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 </xs:sequence>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 <xs:complexType name="ConfigVarType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 <xs:simpleContent>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 <xs:extension base="xs:string">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 <xs:attribute name="name" type="xs:string" use="required"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 <xs:attribute name="exec" type="xs:boolean" default="false"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 </xs:extension>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30 </xs:simpleContent>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 <xs:complexType name="PkgConfigType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34 <xs:simpleContent>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
35 <xs:extension base="xs:string">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
36 <xs:attribute name="atleast" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
37 <xs:attribute name="exact" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38 <xs:attribute name="max" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
39 </xs:extension>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 </xs:simpleContent>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
42
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
43 <xs:simpleType name="LangType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
44 <xs:restriction base="xs:string">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
45 <xs:enumeration value="c"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
46 <xs:enumeration value="cpp"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
47 </xs:restriction>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
48 </xs:simpleType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
49
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
50 <xs:complexType name="DependencyType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
51 <xs:choice minOccurs="0" maxOccurs="unbounded">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
52 <xs:element name="lang" type="LangType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
53 <xs:element name="cflags" type="FlagsType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
54 <xs:element name="cxxflags" type="FlagsType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
55 <xs:element name="ldflags" type="FlagsType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
56 <xs:element name="pkgconfig" type="PkgConfigType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
57 <xs:element name="test" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
58 <xs:element name="make" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
59 </xs:choice>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
60 <xs:attribute name="name" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
61 <xs:attribute name="platform" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
62 <xs:attribute name="not" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
63 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
64
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 <xs:complexType name="FlagsType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
66 <xs:simpleContent>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 <xs:extension base="xs:string">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
68 <xs:attribute name="exec" type="xs:boolean" default="false"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
69 </xs:extension>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
70 </xs:simpleContent>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
72
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
73 <xs:complexType name="TargetType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
74 <xs:choice minOccurs="0" maxOccurs="unbounded">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
75 <xs:element name="feature" type="FeatureType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
76 <xs:element name="option" type="OptionType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 <xs:element name="define" type="DefineType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
78 <xs:element name="dependencies" type="DependenciesType"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 <xs:element name="alldependencies">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 <xs:complexType/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
81 </xs:element>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
82 </xs:choice>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
83 <xs:attribute name="name" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
84 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
86 <xs:complexType name="FeatureType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
87 <xs:choice minOccurs="0" maxOccurs="unbounded">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
88 <xs:group ref="TargetDataGroup"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
89 </xs:choice>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
90 <xs:attribute name="name" type="xs:string" use="required"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
91 <xs:attribute name="arg" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
92 <xs:attribute name="default" type="xs:boolean" default="false"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
93 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
94
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
95 <xs:complexType name="OptionType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
96 <xs:sequence>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
97 <xs:element name="value" type="OptionValueType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
98 <xs:element name="default" type="OptionDefaultType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
99 </xs:sequence>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
100 <xs:attribute name="arg" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
101 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
102
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
103 <xs:complexType name="OptionValueType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
104 <xs:choice minOccurs="0" maxOccurs="unbounded">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
105 <xs:group ref="TargetDataGroup"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
106 </xs:choice>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
107 <xs:attribute name="str" type="xs:string" use="required"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
108 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
109
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
110 <xs:complexType name="OptionDefaultType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
111 <xs:attribute name="value" type="xs:string" use="required"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
112 <xs:attribute name="platform" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
113 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
114
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
115 <xs:group name="TargetDataGroup">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
116 <xs:choice>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
117 <xs:element name="define" type="DefineType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
118 <xs:element name="dependencies" type="DependenciesType" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
119 <xs:element name="make" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
120 </xs:choice>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
121 </xs:group>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
122
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
123 <xs:complexType name="DefineType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
124 <xs:attribute name="name" type="xs:string" use="required"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
125 <xs:attribute name="value" type="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
126 </xs:complexType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
127
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
128 <xs:simpleType name="DependenciesType">
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
129 <xs:restriction base="xs:string"/>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
130 </xs:simpleType>
b533da8e7411 use uwproj for build config generation
Mike Becker <universe@uap-core.de>
parents:
diff changeset
131 </xs:schema>

mercurial