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