]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
use TCP for this benchmark under Windows too (and not DDE)
[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/textctrltest.cpp
112 controls/textentrytest.cpp
113 image/rawbmp.cpp
114 html/htmlwindow.cpp
115 misc/guifuncs.cpp
116 misc/selstoretest.cpp
117 window/clientsize.cpp
118 window/setsize.cpp
119 </sources>
120 <wx-lib>html</wx-lib>
121 <wx-lib>core</wx-lib>
122 <wx-lib>base</wx-lib>
123 </exe>
124
125
126 <wx-data id="data">
127 <files>testdata.fc</files>
128 </wx-data>
129
130 <template id="catalog">
131 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
132 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
133 <files>internat.po internat.mo</files>
134 </template>
135
136 <wx-data id="fr" template="catalog"/>
137
138
139 <!-- BENCHMARKS -->
140
141 <exe id="printfbench" template="wx_sample_console,wx_test"
142 template_append="wx_append_base">
143 <sources>
144 benchmarks/printfbench.cpp
145 </sources>
146 <wx-lib>base</wx-lib>
147 </exe>
148
149
150 </makefile>