]> git.saurik.com Git - wxWidgets.git/blame - tests/test.bkl
Build fix for non-pch builds, e.g. for universal binary building.
[wxWidgets.git] / tests / test.bkl
CommitLineData
670ec357 1<?xml version="1.0" ?>
7d5ab151 2<!-- $Id$ -->
670ec357
VS
3
4<makefile>
5
6 <include file="../build/bakefiles/common_samples.bkl"/>
7
a0744a6b
VS
8 <template id="wx_test">
9 <cppflags>$(CPPUNIT_CFLAGS)</cppflags>
10 <ldflags>$(CPPUNIT_LIBS)</ldflags>
3e8f9a49 11
8899b155
RN
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>
a0744a6b 21 </template>
8899b155 22
a0744a6b
VS
23 <exe id="test" template="wx_sample_console,wx_test"
24 template_append="wx_append_base">
670ec357
VS
25 <sources>
26 test.cpp
00375592 27 archive/archivetest.cpp
e6477b92 28 archive/ziptest.cpp
cdd7933f 29 archive/tartest.cpp
dd65d8c8 30 arrays/arrays.cpp
4db03d26 31 base64/base64.cpp
5769cf0f 32 cmdline/cmdlinetest.cpp
9222c613 33 config/fileconf.cpp
a9e99461 34 datetime/datetimetest.cpp
0912690b 35 filekind/filekind.cpp
a9e99461
RN
36 filename/filenametest.cpp
37 filesys/filesystest.cpp
38 fontmap/fontmaptest.cpp
39 formatconverter/formatconvertertest.cpp
f9c3d39b 40 hashes/hashes.cpp
02f935fb 41 intl/intltest.cpp
7d9cfc54 42 lists/lists.cpp
a9e99461 43 longlong/longlongtest.cpp
a29cce78 44 mbconv/convautotest.cpp
a9e99461
RN
45 mbconv/mbconvtest.cpp
46 regex/regextest.cpp
47 regex/wxregextest.cpp
5f7348ce 48 scopeguard/scopeguardtest.cpp
99d8bc65 49 strings/iostream.cpp
1cd53e88 50 strings/strings.cpp
405b7d91 51 strings/stdstrings.cpp
a67f601b 52 strings/tokenizer.cpp
c9f78968 53 strings/unichar.cpp
387f829e 54 strings/unicode.cpp
c9f78968 55 strings/vararg.cpp
cf8ee08b 56 strings/crt.cpp
7a828c7f 57 strings/vsnprintf.cpp
7735998c 58 streams/bstream.cpp
2f4bebe8 59 streams/datastreamtest.cpp
7735998c 60 streams/ffilestream.cpp
e2255c89 61 streams/fileback.cpp
7735998c 62 streams/filestream.cpp
48714f74 63 streams/largefile.cpp
7735998c 64 streams/memstream.cpp
32d49041 65 streams/sstream.cpp
e1265174 66 streams/tempfile.cpp
ba854691 67 streams/textstreamtest.cpp
7735998c 68 streams/zlibstream.cpp
468c5a97 69 textfile/textfiletest.cpp
cde76cf2 70 thread/atomic.cpp
6aaee6af 71 thread/queue.cpp
d37da5ef 72 uris/uris.cpp
e966f815 73 vectors/vectors.cpp
cc6ceca7
VZ
74 weakref/evtconnection.cpp
75 weakref/weakref.cpp
6e4ae332 76 xlocale/xlocale.cpp
5e05df3c 77 xml/xmltest.cpp
670ec357 78 </sources>
d37da5ef 79 <wx-lib>net</wx-lib>
670ec357 80 <wx-lib>base</wx-lib>
5e05df3c 81 <wx-lib>xml</wx-lib>
670ec357 82 </exe>
3e8f9a49 83
a0744a6b
VS
84
85 <exe id="test_gui" template="wx_sample,wx_test"
86 template_append="wx_append"
87 cond="USE_GUI=='1'">
98a50e20
VS
88
89 <!-- link against GUI libraries, but be a console app: -->
90 <app-type>console</app-type>
3e8f9a49 91
a0744a6b
VS
92 <sources>
93 test.cpp
e07e8195 94 geometry/rect.cpp
3e8f9a49
WS
95 geometry/size.cpp
96 geometry/point.cpp
9222c613 97 config/config.cpp
c0d9b217 98 controls/textctrltest.cpp
c8f80d27 99 misc/selstoretest.cpp
1a86d2e5 100 window/clientsize.cpp
5af86f4d 101 window/setsize.cpp
a0744a6b
VS
102 </sources>
103 <wx-lib>core</wx-lib>
104 <wx-lib>base</wx-lib>
105 </exe>
106
670ec357 107
387f829e
VS
108 <wx-data id="data">
109 <files>testdata.fc</files>
110 </wx-data>
111
02f935fb
VS
112 <template id="catalog">
113 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
114 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
115 <files>internat.po internat.mo</files>
116 </template>
117
118 <wx-data id="fr" template="catalog"/>
412a5c57
VZ
119
120
121 <!-- BENCHMARKS -->
122
123 <exe id="printfbench" template="wx_sample_console,wx_test"
124 template_append="wx_append_base">
125 <sources>
126 benchmarks/printfbench.cpp
127 </sources>
128 <wx-lib>base</wx-lib>
129 </exe>
130
131
670ec357 132</makefile>