]> git.saurik.com Git - wxWidgets.git/blob - tests/test.bkl
added a test for wxAtomicDec return value
[wxWidgets.git] / tests / test.bkl
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/strings.cpp
49 strings/stdstrings.cpp
50 strings/tokenizer.cpp
51 strings/unichar.cpp
52 strings/unicode.cpp
53 strings/vararg.cpp
54 strings/crt.cpp
55 strings/vsnprintf.cpp
56 streams/bstream.cpp
57 streams/datastreamtest.cpp
58 streams/ffilestream.cpp
59 streams/fileback.cpp
60 streams/filestream.cpp
61 streams/largefile.cpp
62 streams/memstream.cpp
63 streams/sstream.cpp
64 streams/tempfile.cpp
65 streams/textstreamtest.cpp
66 streams/zlibstream.cpp
67 textfile/textfiletest.cpp
68 thread/atomic.cpp
69 uris/uris.cpp
70 vectors/vectors.cpp
71 </sources>
72 <wx-lib>net</wx-lib>
73 <wx-lib>base</wx-lib>
74 </exe>
75
76
77 <exe id="test_gui" template="wx_sample,wx_test"
78 template_append="wx_append"
79 cond="USE_GUI=='1'">
80
81 <!-- link against GUI libraries, but be a console app: -->
82 <app-type>console</app-type>
83
84 <sources>
85 test.cpp
86 geometry/rect.cpp
87 geometry/size.cpp
88 geometry/point.cpp
89 config/config.cpp
90 </sources>
91 <wx-lib>core</wx-lib>
92 <wx-lib>base</wx-lib>
93 </exe>
94
95
96 <wx-data id="data">
97 <files>testdata.fc</files>
98 </wx-data>
99
100 <template id="catalog">
101 <dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
102 <srcdir>$(SRCDIR)/intl/$(id)</srcdir>
103 <files>internat.po internat.mo</files>
104 </template>
105
106 <wx-data id="fr" template="catalog"/>
107
108
109 <!-- BENCHMARKS -->
110
111 <exe id="printfbench" template="wx_sample_console,wx_test"
112 template_append="wx_append_base">
113 <sources>
114 benchmarks/printfbench.cpp
115 </sources>
116 <wx-lib>base</wx-lib>
117 </exe>
118
119
120 </makefile>