6 <include file="../build/bakefiles/common_samples.bkl"/>
8 <template id="wx_test">
9 <cppflags>$(CPPUNIT_CFLAGS)</cppflags>
10 <ldflags>$(CPPUNIT_LIBS)</ldflags>
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>
17 <precomp-headers-header>testprec.h</precomp-headers-header>
18 <precomp-headers>on</precomp-headers>
19 <precomp-headers-file>testprec_$(id)</precomp-headers-file>
23 <exe id="test" template="wx_sample_console,wx_test"
24 template_append="wx_append_base">
27 archive/archivetest.cpp
31 datetime/datetimetest.cpp
32 fileconf/fileconftest.cpp
34 filename/filenametest.cpp
35 filesys/filesystest.cpp
36 fontmap/fontmaptest.cpp
37 formatconverter/formatconvertertest.cpp
40 longlong/longlongtest.cpp
41 mbconv/convautotest.cpp
45 scopeguard/scopeguardtest.cpp
47 strings/stdstrings.cpp
53 streams/datastreamtest.cpp
54 streams/ffilestream.cpp
56 streams/filestream.cpp
61 streams/textstreamtest.cpp
62 streams/zlibstream.cpp
63 textfile/textfiletest.cpp
71 <exe id="test_gui" template="wx_sample,wx_test"
72 template_append="wx_append"
75 <!-- link against GUI libraries, but be a console app: -->
76 <app-type>console</app-type>
90 <files>testdata.fc</files>
97 <exe id="printfbench" template="wx_sample_console,wx_test"
98 template_append="wx_append_base">
100 benchmarks/printfbench.cpp
102 <wx-lib>base</wx-lib>