]>
Commit | Line | Data |
---|---|---|
670ec357 | 1 | <?xml version="1.0" ?> |
7d5ab151 | 2 | <!-- $Id$ --> |
670ec357 VS |
3 | |
4 | <makefile> | |
99b9c0ea VZ |
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> | |
670ec357 VS |
10 | |
11 | <include file="../build/bakefiles/common_samples.bkl"/> | |
12 | ||
a0744a6b VS |
13 | <template id="wx_test"> |
14 | <cppflags>$(CPPUNIT_CFLAGS)</cppflags> | |
15 | <ldflags>$(CPPUNIT_LIBS)</ldflags> | |
3e8f9a49 | 16 | |
8899b155 RN |
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> | |
a0744a6b | 26 | </template> |
8899b155 | 27 | |
a0744a6b VS |
28 | <exe id="test" template="wx_sample_console,wx_test" |
29 | template_append="wx_append_base"> | |
670ec357 VS |
30 | <sources> |
31 | test.cpp | |
00375592 | 32 | archive/archivetest.cpp |
e6477b92 | 33 | archive/ziptest.cpp |
cdd7933f | 34 | archive/tartest.cpp |
dd65d8c8 | 35 | arrays/arrays.cpp |
4db03d26 | 36 | base64/base64.cpp |
5769cf0f | 37 | cmdline/cmdlinetest.cpp |
9222c613 | 38 | config/fileconf.cpp |
a9e99461 | 39 | datetime/datetimetest.cpp |
438febca | 40 | events/timertest.cpp |
0912690b | 41 | filekind/filekind.cpp |
a9e99461 RN |
42 | filename/filenametest.cpp |
43 | filesys/filesystest.cpp | |
44 | fontmap/fontmaptest.cpp | |
45 | formatconverter/formatconvertertest.cpp | |
f9c3d39b | 46 | hashes/hashes.cpp |
02f935fb | 47 | intl/intltest.cpp |
7d9cfc54 | 48 | lists/lists.cpp |
a9e99461 | 49 | longlong/longlongtest.cpp |
a29cce78 | 50 | mbconv/convautotest.cpp |
a9e99461 | 51 | mbconv/mbconvtest.cpp |
604fba2d | 52 | misc/misctests.cpp |
e7ce668e | 53 | net/ipc.cpp |
62fb86a5 | 54 | net/socket.cpp |
a9e99461 RN |
55 | regex/regextest.cpp |
56 | regex/wxregextest.cpp | |
5f7348ce | 57 | scopeguard/scopeguardtest.cpp |
99d8bc65 | 58 | strings/iostream.cpp |
1cd53e88 | 59 | strings/strings.cpp |
405b7d91 | 60 | strings/stdstrings.cpp |
a67f601b | 61 | strings/tokenizer.cpp |
c9f78968 | 62 | strings/unichar.cpp |
387f829e | 63 | strings/unicode.cpp |
c9f78968 | 64 | strings/vararg.cpp |
cf8ee08b | 65 | strings/crt.cpp |
7a828c7f | 66 | strings/vsnprintf.cpp |
7735998c | 67 | streams/bstream.cpp |
2f4bebe8 | 68 | streams/datastreamtest.cpp |
7735998c | 69 | streams/ffilestream.cpp |
e2255c89 | 70 | streams/fileback.cpp |
7735998c | 71 | streams/filestream.cpp |
02e22828 | 72 | streams/iostreams.cpp |
48714f74 | 73 | streams/largefile.cpp |
7735998c | 74 | streams/memstream.cpp |
f9caf1af | 75 | streams/socketstream.cpp |
32d49041 | 76 | streams/sstream.cpp |
e1265174 | 77 | streams/tempfile.cpp |
ba854691 | 78 | streams/textstreamtest.cpp |
7735998c | 79 | streams/zlibstream.cpp |
468c5a97 | 80 | textfile/textfiletest.cpp |
cde76cf2 | 81 | thread/atomic.cpp |
6aaee6af | 82 | thread/queue.cpp |
8b73c531 | 83 | thread/tls.cpp |
d37da5ef | 84 | uris/uris.cpp |
e966f815 | 85 | vectors/vectors.cpp |
cc6ceca7 VZ |
86 | weakref/evtconnection.cpp |
87 | weakref/weakref.cpp | |
6e4ae332 | 88 | xlocale/xlocale.cpp |
5e05df3c | 89 | xml/xmltest.cpp |
670ec357 | 90 | </sources> |
d37da5ef | 91 | <wx-lib>net</wx-lib> |
670ec357 | 92 | <wx-lib>base</wx-lib> |
5e05df3c | 93 | <wx-lib>xml</wx-lib> |
670ec357 | 94 | </exe> |
3e8f9a49 | 95 | |
a0744a6b VS |
96 | |
97 | <exe id="test_gui" template="wx_sample,wx_test" | |
98 | template_append="wx_append" | |
99 | cond="USE_GUI=='1'"> | |
98a50e20 VS |
100 | |
101 | <!-- link against GUI libraries, but be a console app: --> | |
102 | <app-type>console</app-type> | |
3e8f9a49 | 103 | |
a0744a6b VS |
104 | <sources> |
105 | test.cpp | |
e07e8195 | 106 | geometry/rect.cpp |
3e8f9a49 WS |
107 | geometry/size.cpp |
108 | geometry/point.cpp | |
9222c613 | 109 | config/config.cpp |
dc7f9c9c | 110 | controls/comboboxtest.cpp |
c0d9b217 | 111 | controls/textctrltest.cpp |
f0f6a32d | 112 | controls/textentrytest.cpp |
80cc5fc7 | 113 | controls/listctrltest.cpp |
3e50a139 | 114 | image/rawbmp.cpp |
c39058f6 | 115 | html/htmlwindow.cpp |
841a25bb | 116 | misc/guifuncs.cpp |
c8f80d27 | 117 | misc/selstoretest.cpp |
1a86d2e5 | 118 | window/clientsize.cpp |
5af86f4d | 119 | window/setsize.cpp |
a0744a6b | 120 | </sources> |
c39058f6 | 121 | <wx-lib>html</wx-lib> |
a0744a6b VS |
122 | <wx-lib>core</wx-lib> |
123 | <wx-lib>base</wx-lib> | |
124 | </exe> | |
125 | ||
670ec357 | 126 | |
387f829e VS |
127 | <wx-data id="data"> |
128 | <files>testdata.fc</files> | |
129 | </wx-data> | |
130 | ||
02f935fb VS |
131 | <template id="catalog"> |
132 | <dstdir>$(BUILDDIR)/intl/$(id)</dstdir> | |
133 | <srcdir>$(SRCDIR)/intl/$(id)</srcdir> | |
134 | <files>internat.po internat.mo</files> | |
135 | </template> | |
136 | ||
137 | <wx-data id="fr" template="catalog"/> | |
412a5c57 VZ |
138 | |
139 | ||
140 | <!-- BENCHMARKS --> | |
141 | ||
142 | <exe id="printfbench" template="wx_sample_console,wx_test" | |
143 | template_append="wx_append_base"> | |
144 | <sources> | |
145 | benchmarks/printfbench.cpp | |
146 | </sources> | |
147 | <wx-lib>base</wx-lib> | |
148 | </exe> | |
149 | ||
150 | ||
670ec357 | 151 | </makefile> |