]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
General purpose slave lock.
[wxWidgets.git] / tests / test.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5
6 <include file="../build/bakefiles/common_samples.bkl"/>
7
8 <template id="wx_test">
9 <cppflags>$(CPPUNIT_CFLAGS)</cppflags>
10 <ldflags>$(CPPUNIT_LIBS)</ldflags>
11
12 <if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
13 <if cond="FORMAT!='autoconf' and TOOLKIT=='MSW'">
14 <sources>dummy.cpp</sources>
15 <precomp-headers-gen>dummy.cpp</precomp-headers-gen>
16 </if>
17 <precomp-headers-header>testprec.h</precomp-headers-header>
18 <precomp-headers>on</precomp-headers>
19 <precomp-headers-file>testprec_$(id)</precomp-headers-file>
20 </if>
21 </template>
22
23 <exe id="test" template="wx_sample_console,wx_test"
24 template_append="wx_append_base">
25 <sources>
26 test.cpp
27 archive/archivetest.cpp
28 archive/ziptest.cpp
29 archive/tartest.cpp
30 arrays/arrays.cpp
31 base64/base64.cpp
32 cmdline/cmdlinetest.cpp
33 config/fileconf.cpp
34 datetime/datetimetest.cpp
35 filekind/filekind.cpp
36 filename/filenametest.cpp
37 filesys/filesystest.cpp
38 fontmap/fontmaptest.cpp
39 formatconverter/formatconvertertest.cpp
40 hashes/hashes.cpp
41 intl/intltest.cpp
42 lists/lists.cpp
43 longlong/longlongtest.cpp
44 mbconv/convautotest.cpp
45 mbconv/mbconvtest.cpp
46 misc/misctests.cpp
47 net/ipc.cpp
48 regex/regextest.cpp
49 regex/wxregextest.cpp
50 scopeguard/scopeguardtest.cpp
51 strings/iostream.cpp
52 strings/strings.cpp
53 strings/stdstrings.cpp
54 strings/tokenizer.cpp
55 strings/unichar.cpp
56 strings/unicode.cpp
57 strings/vararg.cpp
58 strings/crt.cpp
59 strings/vsnprintf.cpp
60 streams/bstream.cpp
61 streams/datastreamtest.cpp
62 streams/ffilestream.cpp
63 streams/fileback.cpp
64 streams/filestream.cpp
65 streams/iostreams.cpp
66 streams/largefile.cpp
67 streams/memstream.cpp
68 streams/socketstream.cpp
69 streams/sstream.cpp
70 streams/tempfile.cpp
71 streams/textstreamtest.cpp
72 streams/zlibstream.cpp
73 textfile/textfiletest.cpp
74 thread/atomic.cpp
75 thread/queue.cpp
76 thread/tls.cpp
77 uris/uris.cpp
78 vectors/vectors.cpp
79 weakref/evtconnection.cpp
80 weakref/weakref.cpp
81 xlocale/xlocale.cpp
82 xml/xmltest.cpp
83 </sources>
84 <wx-lib>net</wx-lib>
85 <wx-lib>base</wx-lib>
86 <wx-lib>xml</wx-lib>
87 </exe>
88
89
90 <exe id="test_gui" template="wx_sample,wx_test"
91 template_append="wx_append"
92 cond="USE_GUI=='1'">
93
94 <!-- link against GUI libraries, but be a console app: -->
95 <app-type>console</app-type>
96
97 <sources>
98 test.cpp
99 geometry/rect.cpp
100 geometry/size.cpp
101 geometry/point.cpp
102 config/config.cpp
103 controls/textctrltest.cpp
104 image/rawbmp.cpp
105 misc/selstoretest.cpp
106 window/clientsize.cpp
107 window/setsize.cpp
108 </sources>
109 <wx-lib>core</wx-lib>
110 <wx-lib>base</wx-lib>
111 </exe>
112
113
114 <wx-data id="data">
115 <files>testdata.fc</files>
116 </wx-data>
117
118 <template id="catalog">
119 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
120 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
121 <files>internat.po internat.mo</files>
122 </template>
123
124 <wx-data id="fr" template="catalog"/>
125
126
127 <!-- BENCHMARKS -->
128
129 <exe id="printfbench" template="wx_sample_console,wx_test"
130 template_append="wx_append_base">
131 <sources>
132 benchmarks/printfbench.cpp
133 </sources>
134 <wx-lib>base</wx-lib>
135 </exe>
136
137
138 </makefile>