]>
Commit | Line | Data |
---|---|---|
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 | 45 | mbconv/mbconvtest.cpp |
604fba2d | 46 | misc/misctests.cpp |
e7ce668e | 47 | net/ipc.cpp |
a9e99461 RN |
48 | regex/regextest.cpp |
49 | regex/wxregextest.cpp | |
5f7348ce | 50 | scopeguard/scopeguardtest.cpp |
99d8bc65 | 51 | strings/iostream.cpp |
1cd53e88 | 52 | strings/strings.cpp |
405b7d91 | 53 | strings/stdstrings.cpp |
a67f601b | 54 | strings/tokenizer.cpp |
c9f78968 | 55 | strings/unichar.cpp |
387f829e | 56 | strings/unicode.cpp |
c9f78968 | 57 | strings/vararg.cpp |
cf8ee08b | 58 | strings/crt.cpp |
7a828c7f | 59 | strings/vsnprintf.cpp |
7735998c | 60 | streams/bstream.cpp |
2f4bebe8 | 61 | streams/datastreamtest.cpp |
7735998c | 62 | streams/ffilestream.cpp |
e2255c89 | 63 | streams/fileback.cpp |
7735998c | 64 | streams/filestream.cpp |
02e22828 | 65 | streams/iostreams.cpp |
48714f74 | 66 | streams/largefile.cpp |
7735998c | 67 | streams/memstream.cpp |
f9caf1af | 68 | streams/socketstream.cpp |
32d49041 | 69 | streams/sstream.cpp |
e1265174 | 70 | streams/tempfile.cpp |
ba854691 | 71 | streams/textstreamtest.cpp |
7735998c | 72 | streams/zlibstream.cpp |
468c5a97 | 73 | textfile/textfiletest.cpp |
cde76cf2 | 74 | thread/atomic.cpp |
6aaee6af | 75 | thread/queue.cpp |
d37da5ef | 76 | uris/uris.cpp |
e966f815 | 77 | vectors/vectors.cpp |
cc6ceca7 VZ |
78 | weakref/evtconnection.cpp |
79 | weakref/weakref.cpp | |
6e4ae332 | 80 | xlocale/xlocale.cpp |
5e05df3c | 81 | xml/xmltest.cpp |
670ec357 | 82 | </sources> |
d37da5ef | 83 | <wx-lib>net</wx-lib> |
670ec357 | 84 | <wx-lib>base</wx-lib> |
5e05df3c | 85 | <wx-lib>xml</wx-lib> |
670ec357 | 86 | </exe> |
3e8f9a49 | 87 | |
a0744a6b VS |
88 | |
89 | <exe id="test_gui" template="wx_sample,wx_test" | |
90 | template_append="wx_append" | |
91 | cond="USE_GUI=='1'"> | |
98a50e20 VS |
92 | |
93 | <!-- link against GUI libraries, but be a console app: --> | |
94 | <app-type>console</app-type> | |
3e8f9a49 | 95 | |
a0744a6b VS |
96 | <sources> |
97 | test.cpp | |
e07e8195 | 98 | geometry/rect.cpp |
3e8f9a49 WS |
99 | geometry/size.cpp |
100 | geometry/point.cpp | |
9222c613 | 101 | config/config.cpp |
c0d9b217 | 102 | controls/textctrltest.cpp |
3e50a139 | 103 | image/rawbmp.cpp |
c8f80d27 | 104 | misc/selstoretest.cpp |
1a86d2e5 | 105 | window/clientsize.cpp |
5af86f4d | 106 | window/setsize.cpp |
a0744a6b VS |
107 | </sources> |
108 | <wx-lib>core</wx-lib> | |
109 | <wx-lib>base</wx-lib> | |
110 | </exe> | |
111 | ||
670ec357 | 112 | |
387f829e VS |
113 | <wx-data id="data"> |
114 | <files>testdata.fc</files> | |
115 | </wx-data> | |
116 | ||
02f935fb VS |
117 | <template id="catalog"> |
118 | <dstdir>$(BUILDDIR)/intl/$(id)</dstdir> | |
119 | <srcdir>$(SRCDIR)/intl/$(id)</srcdir> | |
120 | <files>internat.po internat.mo</files> | |
121 | </template> | |
122 | ||
123 | <wx-data id="fr" template="catalog"/> | |
412a5c57 VZ |
124 | |
125 | ||
126 | <!-- BENCHMARKS --> | |
127 | ||
128 | <exe id="printfbench" template="wx_sample_console,wx_test" | |
129 | template_append="wx_append_base"> | |
130 | <sources> | |
131 | benchmarks/printfbench.cpp | |
132 | </sources> | |
133 | <wx-lib>base</wx-lib> | |
134 | </exe> | |
135 | ||
136 | ||
670ec357 | 137 | </makefile> |