patch [ 1077074 ] Unit test for large file support
[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             arrays/arrays.cpp
29             datetime/datetimetest.cpp
30             fileconf/fileconftest.cpp
31             filename/filenametest.cpp
32             filesys/filesystest.cpp
33             fontmap/fontmaptest.cpp
34             formatconverter/formatconvertertest.cpp
35             hashes/hashes.cpp
36             lists/lists.cpp
37             longlong/longlongtest.cpp
38             mbconv/mbconvtest.cpp
39             regex/regextest.cpp
40             regex/wxregextest.cpp
41             strings/strings.cpp
42             strings/stdstrings.cpp
43             strings/unicode.cpp
44             strings/crt.cpp
45             streams/bstream.cpp
46             streams/datastreamtest.cpp
47             streams/ffilestream.cpp
48             streams/filestream.cpp
49             streams/largefile.cpp
50             streams/memstream.cpp
51             streams/sstream.cpp
52             streams/textstreamtest.cpp
53             streams/zlibstream.cpp
54             uris/uris.cpp
55         </sources>
56         <wx-lib>net</wx-lib>
57         <wx-lib>base</wx-lib>
58     </exe>
59
60
61     <exe id="test_gui" template="wx_sample,wx_test"
62                        template_append="wx_append"
63          cond="USE_GUI=='1'">
64
65         <!-- link against GUI libraries, but be a console app: -->
66         <app-type>console</app-type>
67
68         <sources>
69             test.cpp
70             geometry/rect.cpp
71             geometry/size.cpp
72             geometry/point.cpp
73         </sources>
74         <wx-lib>core</wx-lib>
75         <wx-lib>base</wx-lib>
76     </exe>
77
78
79     <wx-data id="data">
80         <files>testdata.fc</files>
81     </wx-data>
82
83 </makefile>