]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
compilation fix for ANSI STL build
[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 datetime/datetimetest.cpp
33 fileconf/fileconftest.cpp
34 filekind/filekind.cpp
35 filename/filenametest.cpp
36 filesys/filesystest.cpp
37 fontmap/fontmaptest.cpp
38 formatconverter/formatconvertertest.cpp
39 hashes/hashes.cpp
40 intl/intltest.cpp
41 lists/lists.cpp
42 longlong/longlongtest.cpp
43 mbconv/convautotest.cpp
44 mbconv/mbconvtest.cpp
45 regex/regextest.cpp
46 regex/wxregextest.cpp
47 scopeguard/scopeguardtest.cpp
48 strings/strings.cpp
49 strings/stdstrings.cpp
50 strings/tokenizer.cpp
51 strings/unichar.cpp
52 strings/unicode.cpp
53 strings/vararg.cpp
54 strings/crt.cpp
55 strings/vsnprintf.cpp
56 streams/bstream.cpp
57 streams/datastreamtest.cpp
58 streams/ffilestream.cpp
59 streams/fileback.cpp
60 streams/filestream.cpp
61 streams/largefile.cpp
62 streams/memstream.cpp
63 streams/sstream.cpp
64 streams/tempfile.cpp
65 streams/textstreamtest.cpp
66 streams/zlibstream.cpp
67 textfile/textfiletest.cpp
68 thread/atomic.cpp
69 uris/uris.cpp
70 vectors/vectors.cpp
71 </sources>
72 <wx-lib>net</wx-lib>
73 <wx-lib>base</wx-lib>
74 </exe>
75
76
77 <exe id="test_gui" template="wx_sample,wx_test"
78 template_append="wx_append"
79 cond="USE_GUI=='1'">
80
81 <!-- link against GUI libraries, but be a console app: -->
82 <app-type>console</app-type>
83
84 <sources>
85 test.cpp
86 geometry/rect.cpp
87 geometry/size.cpp
88 geometry/point.cpp
89 </sources>
90 <wx-lib>core</wx-lib>
91 <wx-lib>base</wx-lib>
92 </exe>
93
94
95 <wx-data id="data">
96 <files>testdata.fc</files>
97 </wx-data>
98
99 <template id="catalog">
100 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
101 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
102 <files>internat.po internat.mo</files>
103 </template>
104
105 <wx-data id="fr" template="catalog"/>
106
107
108 <!-- BENCHMARKS -->
109
110 <exe id="printfbench" template="wx_sample_console,wx_test"
111 template_append="wx_append_base">
112 <sources>
113 benchmarks/printfbench.cpp
114 </sources>
115 <wx-lib>base</wx-lib>
116 </exe>
117
118
119 </makefile>