]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup()
[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 regex/regextest.cpp
47 regex/wxregextest.cpp
48 scopeguard/scopeguardtest.cpp
49 strings/iostream.cpp
50 strings/strings.cpp
51 strings/stdstrings.cpp
52 strings/tokenizer.cpp
53 strings/unichar.cpp
54 strings/unicode.cpp
55 strings/vararg.cpp
56 strings/crt.cpp
57 strings/vsnprintf.cpp
58 streams/bstream.cpp
59 streams/datastreamtest.cpp
60 streams/ffilestream.cpp
61 streams/fileback.cpp
62 streams/filestream.cpp
63 streams/iostreams.cpp
64 streams/largefile.cpp
65 streams/memstream.cpp
66 streams/socketstream.cpp
67 streams/sstream.cpp
68 streams/tempfile.cpp
69 streams/textstreamtest.cpp
70 streams/zlibstream.cpp
71 textfile/textfiletest.cpp
72 thread/atomic.cpp
73 thread/queue.cpp
74 uris/uris.cpp
75 vectors/vectors.cpp
76 weakref/evtconnection.cpp
77 weakref/weakref.cpp
78 xlocale/xlocale.cpp
79 xml/xmltest.cpp
80 </sources>
81 <wx-lib>net</wx-lib>
82 <wx-lib>base</wx-lib>
83 <wx-lib>xml</wx-lib>
84 </exe>
85
86
87 <exe id="test_gui" template="wx_sample,wx_test"
88 template_append="wx_append"
89 cond="USE_GUI=='1'">
90
91 <!-- link against GUI libraries, but be a console app: -->
92 <app-type>console</app-type>
93
94 <sources>
95 test.cpp
96 geometry/rect.cpp
97 geometry/size.cpp
98 geometry/point.cpp
99 config/config.cpp
100 controls/textctrltest.cpp
101 image/rawbmp.cpp
102 misc/selstoretest.cpp
103 window/clientsize.cpp
104 window/setsize.cpp
105 </sources>
106 <wx-lib>core</wx-lib>
107 <wx-lib>base</wx-lib>
108 </exe>
109
110
111 <wx-data id="data">
112 <files>testdata.fc</files>
113 </wx-data>
114
115 <template id="catalog">
116 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
117 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
118 <files>internat.po internat.mo</files>
119 </template>
120
121 <wx-data id="fr" template="catalog"/>
122
123
124 <!-- BENCHMARKS -->
125
126 <exe id="printfbench" template="wx_sample_console,wx_test"
127 template_append="wx_append_base">
128 <sources>
129 benchmarks/printfbench.cpp
130 </sources>
131 <wx-lib>base</wx-lib>
132 </exe>
133
134
135 </makefile>