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