test/make/project2.xml

Sun, 17 Sep 2023 12:34:45 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 17 Sep 2023 12:34:45 +0200
branch
configure-evo
changeset 59
410e4f942ce7
parent 46
096f3105b3b1
child 65
6db50c6df6e3
permissions
-rw-r--r--

simplify parameter substitution

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>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
42 <make>MVAR = 123</make>
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 </dependency>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
45
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
46 <target name="dav">
44
1d963f2c7e91 make FeatureType.default an xs:boolean - fixes #296
Mike Becker <universe@uap-core.de>
parents: 43
diff changeset
47 <feature name="db" default="true">
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
48 <dependencies>sqlite</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
49 <define name="DATABASE"/>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
50 </feature>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
51 <feature name="gui">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
52 <dependencies>gtk3</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
53 <define name="UI" value="GTK3" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
54 </feature>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
55 <option arg="toolkit">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
56 <value str="gtk3">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
57 <define name="a" value="b" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
58 <dependencies>gtk3</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
59 <make>UIOBJ += graphics_cairo.o</make>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
60 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
61 <value str="cli">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
62 <dependencies>curl,test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
63 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
64 <value str="gtk2">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
65 <dependencies>gtk2</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
66 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
67 <value str="wpf">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
68 <dependencies>test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
69 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
70 <default value="wpf" platform="windows" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
71 <default value="gtk3" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
72 <default value="gtk2" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
73 </option>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
74 <dependencies>curl,libxml2,test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
75 </target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
76
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
77 <target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
78 <dependencies>deptest</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
79 </target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
80 </project>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
81

mercurial