test/make/project2.xml

Sat, 02 Nov 2024 14:22:05 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 02 Nov 2024 14:22:05 +0100
changeset 120
0e3827ebc6e4
parent 98
4bf47ea3fc64
permissions
-rw-r--r--

add compatibility check - resolves #477

5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
120
0e3827ebc6e4 add compatibility check - resolves #477
Mike Becker <universe@uap-core.de>
parents: 98
diff changeset
2 <project version="0.3" 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">
97
1af1bfacd25a add helptext descriptions for features
Mike Becker <universe@uap-core.de>
parents: 65
diff changeset
49 <desc>
98
4bf47ea3fc64 allow custom line breaks in help text
Mike Becker <universe@uap-core.de>
parents: 97
diff changeset
50 Needlessly adds a completely useless SQLite database by default.
4bf47ea3fc64 allow custom line breaks in help text
Mike Becker <universe@uap-core.de>
parents: 97
diff changeset
51 Here another line to test tabs and line
4bf47ea3fc64 allow custom line breaks in help text
Mike Becker <universe@uap-core.de>
parents: 97
diff changeset
52
4bf47ea3fc64 allow custom line breaks in help text
Mike Becker <universe@uap-core.de>
parents: 97
diff changeset
53 breaks.
97
1af1bfacd25a add helptext descriptions for features
Mike Becker <universe@uap-core.de>
parents: 65
diff changeset
54 </desc>
5
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
55 <dependencies>sqlite</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
56 <define name="DATABASE"/>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
57 </feature>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
58 <feature name="gui">
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 <define name="UI" value="GTK3" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
61 </feature>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
62 <option arg="toolkit">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
63 <value str="gtk3">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
64 <define name="a" value="b" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
65 <dependencies>gtk3</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
66 <make>UIOBJ += graphics_cairo.o</make>
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="cli">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
69 <dependencies>curl,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 <value str="gtk2">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
72 <dependencies>gtk2</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
73 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
74 <value str="wpf">
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
75 <dependencies>test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
76 </value>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
77 <default value="wpf" platform="windows" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
78 <default value="gtk3" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
79 <default value="gtk2" />
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
80 </option>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
81 <dependencies>curl,libxml2,test</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
82 </target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
83
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
84 <target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
85 <dependencies>deptest</dependencies>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
86 </target>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
87 </project>
895bf81d3b6e add missing source changes
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
88

mercurial