]>
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 | datetime/datetimetest.cpp | |
32 | fileconf/fileconftest.cpp | |
33 | filekind/filekind.cpp | |
34 | filename/filenametest.cpp | |
35 | filesys/filesystest.cpp | |
36 | fontmap/fontmaptest.cpp | |
37 | formatconverter/formatconvertertest.cpp | |
38 | hashes/hashes.cpp | |
39 | intl/intltest.cpp | |
40 | lists/lists.cpp | |
41 | longlong/longlongtest.cpp | |
42 | mbconv/convautotest.cpp | |
43 | mbconv/mbconvtest.cpp | |
44 | regex/regextest.cpp | |
45 | regex/wxregextest.cpp | |
46 | scopeguard/scopeguardtest.cpp | |
47 | strings/strings.cpp | |
48 | strings/stdstrings.cpp | |
49 | strings/tokenizer.cpp | |
50 | strings/unichar.cpp | |
51 | strings/unicode.cpp | |
52 | strings/vararg.cpp | |
53 | strings/crt.cpp | |
54 | strings/vsnprintf.cpp | |
55 | streams/bstream.cpp | |
56 | streams/datastreamtest.cpp | |
57 | streams/ffilestream.cpp | |
58 | streams/fileback.cpp | |
59 | streams/filestream.cpp | |
60 | streams/largefile.cpp | |
61 | streams/memstream.cpp | |
62 | streams/sstream.cpp | |
63 | streams/tempfile.cpp | |
64 | streams/textstreamtest.cpp | |
65 | streams/zlibstream.cpp | |
66 | textfile/textfiletest.cpp | |
67 | uris/uris.cpp | |
68 | </sources> | |
69 | <wx-lib>net</wx-lib> | |
70 | <wx-lib>base</wx-lib> | |
71 | </exe> | |
72 | ||
73 | ||
74 | <exe id="test_gui" template="wx_sample,wx_test" | |
75 | template_append="wx_append" | |
76 | cond="USE_GUI=='1'"> | |
77 | ||
78 | <!-- link against GUI libraries, but be a console app: --> | |
79 | <app-type>console</app-type> | |
80 | ||
81 | <sources> | |
82 | test.cpp | |
83 | geometry/rect.cpp | |
84 | geometry/size.cpp | |
85 | geometry/point.cpp | |
86 | </sources> | |
87 | <wx-lib>core</wx-lib> | |
88 | <wx-lib>base</wx-lib> | |
89 | </exe> | |
90 | ||
91 | ||
92 | <wx-data id="data"> | |
93 | <files>testdata.fc</files> | |
94 | </wx-data> | |
95 | ||
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"/> | |
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 | ||
116 | </makefile> |