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