]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
added .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)
[wxWidgets.git] / tests / test.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5 <!--
6 The use of PCH is disabled for samples by default but we do want to use
7 them for the test as this dramatically speeds up its compilation.
8 -->
9 <set var="WX_ENABLE_PRECOMP_HEADERS">1</set>
10
11 <include file="../build/bakefiles/common_samples.bkl"/>
12
13 <template id="wx_test">
14 <cppflags>$(CPPUNIT_CFLAGS)</cppflags>
15 <ldflags>$(CPPUNIT_LIBS)</ldflags>
16
17 <if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
18 <if cond="FORMAT!='autoconf' and TOOLKIT=='MSW'">
19 <sources>dummy.cpp</sources>
20 <precomp-headers-gen>dummy.cpp</precomp-headers-gen>
21 </if>
22 <precomp-headers-header>testprec.h</precomp-headers-header>
23 <precomp-headers>on</precomp-headers>
24 <precomp-headers-file>testprec_$(id)</precomp-headers-file>
25 </if>
26 </template>
27
28 <exe id="test" template="wx_sample_console,wx_test"
29 template_append="wx_append_base">
30 <sources>
31 test.cpp
32 archive/archivetest.cpp
33 archive/ziptest.cpp
34 archive/tartest.cpp
35 arrays/arrays.cpp
36 base64/base64.cpp
37 cmdline/cmdlinetest.cpp
38 config/fileconf.cpp
39 datetime/datetimetest.cpp
40 events/timertest.cpp
41 filekind/filekind.cpp
42 filename/filenametest.cpp
43 filesys/filesystest.cpp
44 fontmap/fontmaptest.cpp
45 formatconverter/formatconvertertest.cpp
46 hashes/hashes.cpp
47 intl/intltest.cpp
48 lists/lists.cpp
49 longlong/longlongtest.cpp
50 mbconv/convautotest.cpp
51 mbconv/mbconvtest.cpp
52 misc/misctests.cpp
53 net/ipc.cpp
54 net/socket.cpp
55 regex/regextest.cpp
56 regex/wxregextest.cpp
57 scopeguard/scopeguardtest.cpp
58 strings/iostream.cpp
59 strings/strings.cpp
60 strings/stdstrings.cpp
61 strings/tokenizer.cpp
62 strings/unichar.cpp
63 strings/unicode.cpp
64 strings/vararg.cpp
65 strings/crt.cpp
66 strings/vsnprintf.cpp
67 streams/bstream.cpp
68 streams/datastreamtest.cpp
69 streams/ffilestream.cpp
70 streams/fileback.cpp
71 streams/filestream.cpp
72 streams/iostreams.cpp
73 streams/largefile.cpp
74 streams/memstream.cpp
75 streams/socketstream.cpp
76 streams/sstream.cpp
77 streams/tempfile.cpp
78 streams/textstreamtest.cpp
79 streams/zlibstream.cpp
80 textfile/textfiletest.cpp
81 thread/atomic.cpp
82 thread/queue.cpp
83 thread/tls.cpp
84 uris/uris.cpp
85 vectors/vectors.cpp
86 weakref/evtconnection.cpp
87 weakref/weakref.cpp
88 xlocale/xlocale.cpp
89 xml/xmltest.cpp
90 </sources>
91 <wx-lib>net</wx-lib>
92 <wx-lib>base</wx-lib>
93 <wx-lib>xml</wx-lib>
94 </exe>
95
96
97 <exe id="test_gui" template="wx_sample,wx_test"
98 template_append="wx_append"
99 cond="USE_GUI=='1'">
100
101 <!-- link against GUI libraries, but be a console app: -->
102 <app-type>console</app-type>
103
104 <sources>
105 test.cpp
106 geometry/rect.cpp
107 geometry/size.cpp
108 geometry/point.cpp
109 config/config.cpp
110 controls/comboboxtest.cpp
111 controls/headerctrltest.cpp
112 controls/listctrltest.cpp
113 controls/textctrltest.cpp
114 controls/textentrytest.cpp
115 image/rawbmp.cpp
116 html/htmlwindow.cpp
117 misc/guifuncs.cpp
118 misc/selstoretest.cpp
119 window/clientsize.cpp
120 window/setsize.cpp
121 </sources>
122 <wx-lib>html</wx-lib>
123 <wx-lib>core</wx-lib>
124 <wx-lib>base</wx-lib>
125 </exe>
126
127
128 <wx-data id="data">
129 <files>testdata.fc</files>
130 </wx-data>
131
132 <template id="catalog">
133 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
134 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
135 <files>internat.po internat.mo</files>
136 </template>
137
138 <wx-data id="fr" template="catalog"/>
139
140
141 <!-- BENCHMARKS -->
142
143 <exe id="printfbench" template="wx_sample_console,wx_test"
144 template_append="wx_append_base">
145 <sources>
146 benchmarks/printfbench.cpp
147 </sources>
148 <wx-lib>base</wx-lib>
149 </exe>
150
151
152 </makefile>