]>
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 | misc/misctests.cpp | |
47 | net/ipc.cpp | |
48 | regex/regextest.cpp | |
49 | regex/wxregextest.cpp | |
50 | scopeguard/scopeguardtest.cpp | |
51 | strings/iostream.cpp | |
52 | strings/strings.cpp | |
53 | strings/stdstrings.cpp | |
54 | strings/tokenizer.cpp | |
55 | strings/unichar.cpp | |
56 | strings/unicode.cpp | |
57 | strings/vararg.cpp | |
58 | strings/crt.cpp | |
59 | strings/vsnprintf.cpp | |
60 | streams/bstream.cpp | |
61 | streams/datastreamtest.cpp | |
62 | streams/ffilestream.cpp | |
63 | streams/fileback.cpp | |
64 | streams/filestream.cpp | |
65 | streams/iostreams.cpp | |
66 | streams/largefile.cpp | |
67 | streams/memstream.cpp | |
68 | streams/socketstream.cpp | |
69 | streams/sstream.cpp | |
70 | streams/tempfile.cpp | |
71 | streams/textstreamtest.cpp | |
72 | streams/zlibstream.cpp | |
73 | textfile/textfiletest.cpp | |
74 | thread/atomic.cpp | |
75 | thread/queue.cpp | |
76 | uris/uris.cpp | |
77 | vectors/vectors.cpp | |
78 | weakref/evtconnection.cpp | |
79 | weakref/weakref.cpp | |
80 | xlocale/xlocale.cpp | |
81 | xml/xmltest.cpp | |
82 | </sources> | |
83 | <wx-lib>net</wx-lib> | |
84 | <wx-lib>base</wx-lib> | |
85 | <wx-lib>xml</wx-lib> | |
86 | </exe> | |
87 | ||
88 | ||
89 | <exe id="test_gui" template="wx_sample,wx_test" | |
90 | template_append="wx_append" | |
91 | cond="USE_GUI=='1'"> | |
92 | ||
93 | <!-- link against GUI libraries, but be a console app: --> | |
94 | <app-type>console</app-type> | |
95 | ||
96 | <sources> | |
97 | test.cpp | |
98 | geometry/rect.cpp | |
99 | geometry/size.cpp | |
100 | geometry/point.cpp | |
101 | config/config.cpp | |
102 | controls/textctrltest.cpp | |
103 | image/rawbmp.cpp | |
104 | misc/selstoretest.cpp | |
105 | window/clientsize.cpp | |
106 | window/setsize.cpp | |
107 | </sources> | |
108 | <wx-lib>core</wx-lib> | |
109 | <wx-lib>base</wx-lib> | |
110 | </exe> | |
111 | ||
112 | ||
113 | <wx-data id="data"> | |
114 | <files>testdata.fc</files> | |
115 | </wx-data> | |
116 | ||
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"/> | |
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 | ||
137 | </makefile> |