]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
adding missing include for non-precomp builds, and grouping headers, solves #9744
[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 base64/base64.cpp
32 cmdline/cmdlinetest.cpp
33 config/fileconf.cpp
34 datetime/datetimetest.cpp
35 filekind/filekind.cpp
36 filename/filenametest.cpp
37 filesys/filesystest.cpp
38 fontmap/fontmaptest.cpp
39 formatconverter/formatconvertertest.cpp
40 hashes/hashes.cpp
41 intl/intltest.cpp
42 lists/lists.cpp
43 longlong/longlongtest.cpp
44 mbconv/convautotest.cpp
45 mbconv/mbconvtest.cpp
46 net/ipc.cpp
47 regex/regextest.cpp
48 regex/wxregextest.cpp
49 scopeguard/scopeguardtest.cpp
50 strings/iostream.cpp
51 strings/strings.cpp
52 strings/stdstrings.cpp
53 strings/tokenizer.cpp
54 strings/unichar.cpp
55 strings/unicode.cpp
56 strings/vararg.cpp
57 strings/crt.cpp
58 strings/vsnprintf.cpp
59 streams/bstream.cpp
60 streams/datastreamtest.cpp
61 streams/ffilestream.cpp
62 streams/fileback.cpp
63 streams/filestream.cpp
64 streams/iostreams.cpp
65 streams/largefile.cpp
66 streams/memstream.cpp
67 streams/socketstream.cpp
68 streams/sstream.cpp
69 streams/tempfile.cpp
70 streams/textstreamtest.cpp
71 streams/zlibstream.cpp
72 textfile/textfiletest.cpp
73 thread/atomic.cpp
74 thread/queue.cpp
75 uris/uris.cpp
76 vectors/vectors.cpp
77 weakref/evtconnection.cpp
78 weakref/weakref.cpp
79 xlocale/xlocale.cpp
80 xml/xmltest.cpp
81 </sources>
82 <wx-lib>net</wx-lib>
83 <wx-lib>base</wx-lib>
84 <wx-lib>xml</wx-lib>
85 </exe>
86
87
88 <exe id="test_gui" template="wx_sample,wx_test"
89 template_append="wx_append"
90 cond="USE_GUI=='1'">
91
92 <!-- link against GUI libraries, but be a console app: -->
93 <app-type>console</app-type>
94
95 <sources>
96 test.cpp
97 geometry/rect.cpp
98 geometry/size.cpp
99 geometry/point.cpp
100 config/config.cpp
101 controls/textctrltest.cpp
102 image/rawbmp.cpp
103 misc/selstoretest.cpp
104 window/clientsize.cpp
105 window/setsize.cpp
106 </sources>
107 <wx-lib>core</wx-lib>
108 <wx-lib>base</wx-lib>
109 </exe>
110
111
112 <wx-data id="data">
113 <files>testdata.fc</files>
114 </wx-data>
115
116 <template id="catalog">
117 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
118 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
119 <files>internat.po internat.mo</files>
120 </template>
121
122 <wx-data id="fr" template="catalog"/>
123
124
125 <!-- BENCHMARKS -->
126
127 <exe id="printfbench" template="wx_sample_console,wx_test"
128 template_append="wx_append_base">
129 <sources>
130 benchmarks/printfbench.cpp
131 </sources>
132 <wx-lib>base</wx-lib>
133 </exe>
134
135
136 </makefile>