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