]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
run wxURL test both with and without the event loop too
[wxWidgets.git] / tests / test.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5 <!--
6 The use of PCH is disabled for samples by default but we do want to use
7 them for the test as this dramatically speeds up its compilation.
8 -->
9 <set var="WX_ENABLE_PRECOMP_HEADERS">1</set>
10
11 <include file="../build/bakefiles/common_samples.bkl"/>
12
13 <template id="wx_test">
14 <cppflags>$(CPPUNIT_CFLAGS)</cppflags>
15 <ldflags>$(CPPUNIT_LIBS)</ldflags>
16
17 <if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
18 <if cond="FORMAT!='autoconf' and TOOLKIT=='MSW'">
19 <sources>dummy.cpp</sources>
20 <precomp-headers-gen>dummy.cpp</precomp-headers-gen>
21 </if>
22 <precomp-headers-header>testprec.h</precomp-headers-header>
23 <precomp-headers>on</precomp-headers>
24 <precomp-headers-file>testprec_$(id)</precomp-headers-file>
25 </if>
26 </template>
27
28 <exe id="test" template="wx_sample_console,wx_test"
29 template_append="wx_append_base">
30 <sources>
31 test.cpp
32 archive/archivetest.cpp
33 archive/ziptest.cpp
34 archive/tartest.cpp
35 arrays/arrays.cpp
36 base64/base64.cpp
37 cmdline/cmdlinetest.cpp
38 config/fileconf.cpp
39 datetime/datetimetest.cpp
40 events/timertest.cpp
41 filekind/filekind.cpp
42 filename/filenametest.cpp
43 filesys/filesystest.cpp
44 fontmap/fontmaptest.cpp
45 formatconverter/formatconvertertest.cpp
46 hashes/hashes.cpp
47 intl/intltest.cpp
48 lists/lists.cpp
49 longlong/longlongtest.cpp
50 mbconv/convautotest.cpp
51 mbconv/mbconvtest.cpp
52 misc/misctests.cpp
53 net/ipc.cpp
54 net/socket.cpp
55 regex/regextest.cpp
56 regex/wxregextest.cpp
57 scopeguard/scopeguardtest.cpp
58 strings/iostream.cpp
59 strings/strings.cpp
60 strings/stdstrings.cpp
61 strings/tokenizer.cpp
62 strings/unichar.cpp
63 strings/unicode.cpp
64 strings/vararg.cpp
65 strings/crt.cpp
66 strings/vsnprintf.cpp
67 streams/bstream.cpp
68 streams/datastreamtest.cpp
69 streams/ffilestream.cpp
70 streams/fileback.cpp
71 streams/filestream.cpp
72 streams/iostreams.cpp
73 streams/largefile.cpp
74 streams/memstream.cpp
75 streams/socketstream.cpp
76 streams/sstream.cpp
77 streams/tempfile.cpp
78 streams/textstreamtest.cpp
79 streams/zlibstream.cpp
80 textfile/textfiletest.cpp
81 thread/atomic.cpp
82 thread/queue.cpp
83 thread/tls.cpp
84 uris/uris.cpp
85 vectors/vectors.cpp
86 weakref/evtconnection.cpp
87 weakref/weakref.cpp
88 xlocale/xlocale.cpp
89 xml/xmltest.cpp
90 </sources>
91 <wx-lib>net</wx-lib>
92 <wx-lib>base</wx-lib>
93 <wx-lib>xml</wx-lib>
94 </exe>
95
96
97 <exe id="test_gui" template="wx_sample,wx_test"
98 template_append="wx_append"
99 cond="USE_GUI=='1'">
100
101 <!-- link against GUI libraries, but be a console app: -->
102 <app-type>console</app-type>
103
104 <sources>
105 test.cpp
106 geometry/rect.cpp
107 geometry/size.cpp
108 geometry/point.cpp
109 config/config.cpp
110 controls/comboboxtest.cpp
111 controls/headerctrltest.cpp
112 controls/listctrltest.cpp
113 controls/textctrltest.cpp
114 controls/textentrytest.cpp
115 image/rawbmp.cpp
116 html/htmlwindow.cpp
117 misc/guifuncs.cpp
118 misc/selstoretest.cpp
119 <!--
120 This one is intentionally duplicated here (it is also part of
121 non-GUI test) as sockets behave differently in console and GUI
122 applications.
123 -->
124 net/socket.cpp
125 window/clientsize.cpp
126 window/setsize.cpp
127 </sources>
128 <wx-lib>html</wx-lib>
129 <wx-lib>core</wx-lib>
130 <wx-lib>net</wx-lib>
131 <wx-lib>base</wx-lib>
132 </exe>
133
134
135 <wx-data id="data">
136 <files>testdata.fc</files>
137 </wx-data>
138
139 <template id="catalog">
140 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
141 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
142 <files>internat.po internat.mo</files>
143 </template>
144
145 <wx-data id="fr" template="catalog"/>
146
147
148 <!-- BENCHMARKS -->
149
150 <exe id="printfbench" template="wx_sample_console,wx_test"
151 template_append="wx_append_base">
152 <sources>
153 benchmarks/printfbench.cpp
154 </sources>
155 <wx-lib>base</wx-lib>
156 </exe>
157
158
159 </makefile>