]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
remove also wxT(); it's confusing, too; do load wxstd.mo catalog after calling wxLoca...
[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 events/propagation.cpp
116 image/rawbmp.cpp
117 html/htmlwindow.cpp
118 misc/guifuncs.cpp
119 misc/selstoretest.cpp
120 misc/garbage.cpp
121 <!--
122 This one is intentionally duplicated here (it is also part of
123 non-GUI test) as sockets behave differently in console and GUI
124 applications.
125 -->
126 net/socket.cpp
127 window/clientsize.cpp
128 window/setsize.cpp
129 </sources>
130 <wx-lib>media</wx-lib>
131 <wx-lib>xrc</wx-lib>
132 <wx-lib>xml</wx-lib>
133 <wx-lib>adv</wx-lib>
134 <wx-lib>html</wx-lib>
135 <wx-lib>core</wx-lib>
136 <wx-lib>net</wx-lib>
137 <wx-lib>base</wx-lib>
138 </exe>
139
140
141 <wx-data id="data">
142 <files>testdata.fc</files>
143 </wx-data>
144
145 <template id="catalog">
146 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
147 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
148 <files>internat.po internat.mo</files>
149 </template>
150
151 <wx-data id="fr" template="catalog"/>
152
153
154 <!-- BENCHMARKS -->
155
156 <exe id="printfbench" template="wx_sample_console,wx_test"
157 template_append="wx_append_base">
158 <sources>
159 benchmarks/printfbench.cpp
160 </sources>
161 <wx-lib>base</wx-lib>
162 </exe>
163
164
165 </makefile>