test/make/project2.xml

Mon, 02 Oct 2023 18:07:37 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 02 Oct 2023 18:07:37 +0200
changeset 80
e55f318a8b8b
parent 65
6db50c6df6e3
child 97
1af1bfacd25a
permissions
-rw-r--r--

first version of an XML documentation - fixes #266

5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
29
5e958351935d add XML schema - fixes #267
Mike Becker <universe@uap-core.de>
parents: 5
diff changeset
2 <project xmlns="http://unixwork.de/uwproj">
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 <dependency name="curl" platform="windows">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4 <cflags>-I/mingw/include</cflags>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 <ldflags>-lcurl</ldflags>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7 <dependency name="curl" platform="macos">
43
741a0d9efa47 replace type="exec" with exec="true" - fixes #295
Mike Becker <universe@uap-core.de>
parents: 29
diff changeset
8 <cflags exec="true">curl-config --cflags</cflags>
741a0d9efa47 replace type="exec" with exec="true" - fixes #295
Mike Becker <universe@uap-core.de>
parents: 29
diff changeset
9 <ldflags exec="true">curl-config --ldflags</ldflags>
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 <dependency name="test" platform="bsd" not="macos">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 <cflags>-DBSD</cflags>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14 <dependency name="curl">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15 <pkgconfig>libcurl</pkgconfig>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
16 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17 <dependency name="libxml2">
46
096f3105b3b1 add support for pkgconf version constraints - fixes #294
Mike Becker <universe@uap-core.de>
parents: 44
diff changeset
18 <pkgconfig atleast="2.8">libxml-2.0</pkgconfig>
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
19 <make>xml = libxml2</make>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
20 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
21 <dependency name="sqlite">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22 <pkgconfig>sqlite3</pkgconfig>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
23 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
24 <dependency name="test">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
25 <cflags>-DTEST</cflags>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
26 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
27 <dependency name="gtk3">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
28 <pkgconfig>gtk+-5.0</pkgconfig>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
29 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
30 <dependency name="gtk2">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
31 <pkgconfig>gtk+-2.0</pkgconfig>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
32 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
33 <dependency name="qt4">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
34 <test>which qmake-qt4</test>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
35 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
36
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
37 <dependency name="deptest">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
38 <cflags>-DDEPTEST</cflags>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
39 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
40
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
41 <dependency>
65
6db50c6df6e3 add support for cxxflags and fix lang parser
Mike Becker <universe@uap-core.de>
parents: 46
diff changeset
42 <lang>c</lang>
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
43 <make>MVAR = 123</make>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
44 <make>MVAR += 123</make>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
45 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
46
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
47 <target name="dav">
44
1d963f2c7e91 make FeatureType.default an xs:boolean - fixes #296
Mike Becker <universe@uap-core.de>
parents: 43
diff changeset
48 <feature name="db" default="true">
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
49 <dependencies>sqlite</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
50 <define name="DATABASE"/>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
51 </feature>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
52 <feature name="gui">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
53 <dependencies>gtk3</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
54 <define name="UI" value="GTK3" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
55 </feature>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
56 <option arg="toolkit">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
57 <value str="gtk3">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
58 <define name="a" value="b" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
59 <dependencies>gtk3</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
60 <make>UIOBJ += graphics_cairo.o</make>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
61 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
62 <value str="cli">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
63 <dependencies>curl,test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
64 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
65 <value str="gtk2">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
66 <dependencies>gtk2</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
67 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
68 <value str="wpf">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
69 <dependencies>test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
70 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
71 <default value="wpf" platform="windows" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
72 <default value="gtk3" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
73 <default value="gtk2" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
74 </option>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
75 <dependencies>curl,libxml2,test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
76 </target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
77
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
78 <target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
79 <dependencies>deptest</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
80 </target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
81 </project>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
82

mercurial