]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
5 | ||
6 | <include file="../build/bakefiles/common_samples.bkl"/> | |
7 | ||
8 | <template id="wx_test"> | |
9 | <cppflags>$(CPPUNIT_CFLAGS)</cppflags> | |
10 | <ldflags>$(CPPUNIT_LIBS)</ldflags> | |
11 | ||
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> | |
21 | </template> | |
22 | ||
23 | <exe id="test" template="wx_sample_console,wx_test" | |
24 | template_append="wx_append_base"> | |
25 | <sources> | |
26 | test.cpp | |
27 | archive/archivetest.cpp | |
28 | archive/ziptest.cpp | |
29 | archive/tartest.cpp | |
30 | arrays/arrays.cpp | |
31 | base64/base64.cpp | |
32 | config/fileconf.cpp | |
33 | datetime/datetimetest.cpp | |
34 | filekind/filekind.cpp | |
35 | filename/filenametest.cpp | |
36 | filesys/filesystest.cpp | |
37 | fontmap/fontmaptest.cpp | |
38 | formatconverter/formatconvertertest.cpp | |
39 | hashes/hashes.cpp | |
40 | intl/intltest.cpp | |
41 | lists/lists.cpp | |
42 | longlong/longlongtest.cpp | |
43 | mbconv/convautotest.cpp | |
44 | mbconv/mbconvtest.cpp | |
45 | regex/regextest.cpp | |
46 | regex/wxregextest.cpp | |
47 | scopeguard/scopeguardtest.cpp | |
48 | strings/iostream.cpp | |
49 | strings/strings.cpp | |
50 | strings/stdstrings.cpp | |
51 | strings/tokenizer.cpp | |
52 | strings/unichar.cpp | |
53 | strings/unicode.cpp | |
54 | strings/vararg.cpp | |
55 | strings/crt.cpp | |
56 | strings/vsnprintf.cpp | |
57 | streams/bstream.cpp | |
58 | streams/datastreamtest.cpp | |
59 | streams/ffilestream.cpp | |
60 | streams/fileback.cpp | |
61 | streams/filestream.cpp | |
62 | streams/largefile.cpp | |
63 | streams/memstream.cpp | |
64 | streams/sstream.cpp | |
65 | streams/tempfile.cpp | |
66 | streams/textstreamtest.cpp | |
67 | streams/zlibstream.cpp | |
68 | textfile/textfiletest.cpp | |
69 | thread/atomic.cpp | |
70 | thread/queue.cpp | |
71 | uris/uris.cpp | |
72 | vectors/vectors.cpp | |
73 | weakref/evtconnection.cpp | |
74 | weakref/weakref.cpp | |
75 | xlocale/xlocale.cpp | |
76 | </sources> | |
77 | <wx-lib>net</wx-lib> | |
78 | <wx-lib>base</wx-lib> | |
79 | </exe> | |
80 | ||
81 | ||
82 | <exe id="test_gui" template="wx_sample,wx_test" | |
83 | template_append="wx_append" | |
84 | cond="USE_GUI=='1'"> | |
85 | ||
86 | <!-- link against GUI libraries, but be a console app: --> | |
87 | <app-type>console</app-type> | |
88 | ||
89 | <sources> | |
90 | test.cpp | |
91 | geometry/rect.cpp | |
92 | geometry/size.cpp | |
93 | geometry/point.cpp | |
94 | config/config.cpp | |
95 | controls/clientsize.cpp | |
96 | controls/textctrltest.cpp | |
97 | </sources> | |
98 | <wx-lib>core</wx-lib> | |
99 | <wx-lib>base</wx-lib> | |
100 | </exe> | |
101 | ||
102 | ||
103 | <wx-data id="data"> | |
104 | <files>testdata.fc</files> | |
105 | </wx-data> | |
106 | ||
107 | <template id="catalog"> | |
108 | <dstdir>$(BUILDDIR)/intl/$(id)</dstdir> | |
109 | <srcdir>$(SRCDIR)/intl/$(id)</srcdir> | |
110 | <files>internat.po internat.mo</files> | |
111 | </template> | |
112 | ||
113 | <wx-data id="fr" template="catalog"/> | |
114 | ||
115 | ||
116 | <!-- BENCHMARKS --> | |
117 | ||
118 | <exe id="printfbench" template="wx_sample_console,wx_test" | |
119 | template_append="wx_append_base"> | |
120 | <sources> | |
121 | benchmarks/printfbench.cpp | |
122 | </sources> | |
123 | <wx-lib>base</wx-lib> | |
124 | </exe> | |
125 | ||
126 | ||
127 | </makefile> |