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