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