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