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