]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
don't use HBMMENU_CALLBACK under Windows Vista as this results in losing the themed...
[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/evthandler.cpp
41 events/timertest.cpp
42 filekind/filekind.cpp
43 filename/filenametest.cpp
44 filesys/filesystest.cpp
45 fontmap/fontmaptest.cpp
46 formatconverter/formatconvertertest.cpp
47 hashes/hashes.cpp
48 intl/intltest.cpp
49 lists/lists.cpp
50 longlong/longlongtest.cpp
51 mbconv/convautotest.cpp
52 mbconv/mbconvtest.cpp
53 misc/misctests.cpp
54 net/ipc.cpp
55 net/socket.cpp
56 regex/regextest.cpp
57 regex/wxregextest.cpp
58 scopeguard/scopeguardtest.cpp
59 strings/iostream.cpp
60 strings/strings.cpp
61 strings/stdstrings.cpp
62 strings/tokenizer.cpp
63 strings/unichar.cpp
64 strings/unicode.cpp
65 strings/vararg.cpp
66 strings/crt.cpp
67 strings/vsnprintf.cpp
68 streams/bstream.cpp
69 streams/datastreamtest.cpp
70 streams/ffilestream.cpp
71 streams/fileback.cpp
72 streams/filestream.cpp
73 streams/iostreams.cpp
74 streams/largefile.cpp
75 streams/memstream.cpp
76 streams/socketstream.cpp
77 streams/sstream.cpp
78 streams/tempfile.cpp
79 streams/textstreamtest.cpp
80 streams/zlibstream.cpp
81 textfile/textfiletest.cpp
82 thread/atomic.cpp
83 thread/queue.cpp
84 thread/tls.cpp
85 uris/uris.cpp
86 vectors/vectors.cpp
87 weakref/evtconnection.cpp
88 weakref/weakref.cpp
89 xlocale/xlocale.cpp
90 xml/xmltest.cpp
91 </sources>
92 <wx-lib>net</wx-lib>
93 <wx-lib>base</wx-lib>
94 <wx-lib>xml</wx-lib>
95 </exe>
96
97
98 <exe id="test_gui" template="wx_sample,wx_test"
99 template_append="wx_append"
100 cond="USE_GUI=='1'">
101
102 <!-- link against GUI libraries, but be a console app: -->
103 <app-type>console</app-type>
104
105 <sources>
106 test.cpp
107 geometry/rect.cpp
108 geometry/size.cpp
109 geometry/point.cpp
110 config/config.cpp
111 controls/comboboxtest.cpp
112 controls/headerctrltest.cpp
113 controls/listctrltest.cpp
114 controls/textctrltest.cpp
115 controls/textentrytest.cpp
116 controls/treectrltest.cpp
117 events/propagation.cpp
118 font/fonttest.cpp
119 image/rawbmp.cpp
120 html/htmlwindow.cpp
121 misc/guifuncs.cpp
122 misc/selstoretest.cpp
123 misc/garbage.cpp
124 <!--
125 This one is intentionally duplicated here (it is also part of
126 non-GUI test) as sockets behave differently in console and GUI
127 applications.
128 -->
129 net/socket.cpp
130 window/clientsize.cpp
131 window/setsize.cpp
132 </sources>
133 <wx-lib>media</wx-lib>
134 <wx-lib>xrc</wx-lib>
135 <wx-lib>xml</wx-lib>
136 <wx-lib>adv</wx-lib>
137 <wx-lib>html</wx-lib>
138 <wx-lib>core</wx-lib>
139 <wx-lib>net</wx-lib>
140 <wx-lib>base</wx-lib>
141 </exe>
142
143
144 <wx-data id="data">
145 <files>testdata.fc</files>
146 </wx-data>
147
148 <template id="catalog">
149 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
150 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
151 <files>internat.po internat.mo</files>
152 </template>
153
154 <wx-data id="fr" template="catalog"/>
155
156
157 <!-- BENCHMARKS -->
158
159 <exe id="printfbench" template="wx_sample_console,wx_test"
160 template_append="wx_append_base">
161 <sources>
162 benchmarks/printfbench.cpp
163 </sources>
164 <wx-lib>base</wx-lib>
165 </exe>
166
167
168 </makefile>