2004-03-03 22:56:16 +00:00
|
|
|
<?xml version="1.0" ?>
|
2004-03-06 11:23:49 +00:00
|
|
|
<!-- $Id$ -->
|
2004-03-03 22:56:16 +00:00
|
|
|
|
|
|
|
<makefile>
|
2008-09-19 09:03:01 +00:00
|
|
|
<!--
|
|
|
|
The use of PCH is disabled for samples by default but we do want to use
|
|
|
|
them for the test as this dramatically speeds up its compilation.
|
|
|
|
-->
|
|
|
|
<set var="WX_ENABLE_PRECOMP_HEADERS">1</set>
|
2004-03-03 22:56:16 +00:00
|
|
|
|
|
|
|
<include file="../build/bakefiles/common_samples.bkl"/>
|
|
|
|
|
2004-12-12 12:35:45 +00:00
|
|
|
<template id="wx_test">
|
|
|
|
<cppflags>$(CPPUNIT_CFLAGS)</cppflags>
|
|
|
|
<ldflags>$(CPPUNIT_LIBS)</ldflags>
|
2004-12-14 20:29:20 +00:00
|
|
|
|
2004-11-22 05:00:19 +00:00
|
|
|
<if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
|
|
|
|
<if cond="FORMAT!='autoconf' and TOOLKIT=='MSW'">
|
|
|
|
<sources>dummy.cpp</sources>
|
|
|
|
<precomp-headers-gen>dummy.cpp</precomp-headers-gen>
|
|
|
|
</if>
|
|
|
|
<precomp-headers-header>testprec.h</precomp-headers-header>
|
|
|
|
<precomp-headers>on</precomp-headers>
|
|
|
|
<precomp-headers-file>testprec_$(id)</precomp-headers-file>
|
|
|
|
</if>
|
2004-12-12 12:35:45 +00:00
|
|
|
</template>
|
2004-11-22 05:00:19 +00:00
|
|
|
|
2004-12-12 12:35:45 +00:00
|
|
|
<exe id="test" template="wx_sample_console,wx_test"
|
|
|
|
template_append="wx_append_base">
|
2004-03-03 22:56:16 +00:00
|
|
|
<sources>
|
|
|
|
test.cpp
|
2004-11-10 23:58:38 +00:00
|
|
|
archive/archivetest.cpp
|
2005-02-10 14:06:08 +00:00
|
|
|
archive/ziptest.cpp
|
2006-10-27 10:11:46 +00:00
|
|
|
archive/tartest.cpp
|
2004-10-27 22:47:26 +00:00
|
|
|
arrays/arrays.cpp
|
2007-07-10 01:51:43 +00:00
|
|
|
base64/base64.cpp
|
2008-04-12 17:03:09 +00:00
|
|
|
cmdline/cmdlinetest.cpp
|
2007-07-21 23:51:19 +00:00
|
|
|
config/fileconf.cpp
|
2004-10-31 04:41:27 +00:00
|
|
|
datetime/datetimetest.cpp
|
2005-02-12 21:53:51 +00:00
|
|
|
filekind/filekind.cpp
|
2004-10-31 04:41:27 +00:00
|
|
|
filename/filenametest.cpp
|
|
|
|
filesys/filesystest.cpp
|
|
|
|
fontmap/fontmaptest.cpp
|
|
|
|
formatconverter/formatconvertertest.cpp
|
2004-05-22 17:52:44 +00:00
|
|
|
hashes/hashes.cpp
|
2007-03-26 21:12:13 +00:00
|
|
|
intl/intltest.cpp
|
2004-12-08 22:39:22 +00:00
|
|
|
lists/lists.cpp
|
2004-10-31 04:41:27 +00:00
|
|
|
longlong/longlongtest.cpp
|
2006-04-05 14:38:42 +00:00
|
|
|
mbconv/convautotest.cpp
|
2004-10-31 04:41:27 +00:00
|
|
|
mbconv/mbconvtest.cpp
|
2008-08-02 22:49:01 +00:00
|
|
|
misc/misctests.cpp
|
2008-07-14 02:19:34 +00:00
|
|
|
net/ipc.cpp
|
2008-10-12 20:45:29 +00:00
|
|
|
net/socket.cpp
|
2004-10-31 04:41:27 +00:00
|
|
|
regex/regextest.cpp
|
|
|
|
regex/wxregextest.cpp
|
2005-06-16 23:47:30 +00:00
|
|
|
scopeguard/scopeguardtest.cpp
|
2007-10-09 00:10:07 +00:00
|
|
|
strings/iostream.cpp
|
2004-04-20 18:55:09 +00:00
|
|
|
strings/strings.cpp
|
2004-05-21 07:59:14 +00:00
|
|
|
strings/stdstrings.cpp
|
2005-12-20 16:30:12 +00:00
|
|
|
strings/tokenizer.cpp
|
2007-03-17 10:26:10 +00:00
|
|
|
strings/unichar.cpp
|
2004-04-30 20:26:14 +00:00
|
|
|
strings/unicode.cpp
|
2007-03-17 10:26:10 +00:00
|
|
|
strings/vararg.cpp
|
2004-06-03 19:48:31 +00:00
|
|
|
strings/crt.cpp
|
2006-05-28 15:18:15 +00:00
|
|
|
strings/vsnprintf.cpp
|
2004-04-18 19:26:20 +00:00
|
|
|
streams/bstream.cpp
|
2004-11-24 22:31:25 +00:00
|
|
|
streams/datastreamtest.cpp
|
2004-04-18 19:26:20 +00:00
|
|
|
streams/ffilestream.cpp
|
2006-10-23 21:58:35 +00:00
|
|
|
streams/fileback.cpp
|
2004-04-18 19:26:20 +00:00
|
|
|
streams/filestream.cpp
|
2008-06-15 17:34:50 +00:00
|
|
|
streams/iostreams.cpp
|
2005-02-04 09:43:47 +00:00
|
|
|
streams/largefile.cpp
|
2004-04-18 19:26:20 +00:00
|
|
|
streams/memstream.cpp
|
2008-07-08 00:19:54 +00:00
|
|
|
streams/socketstream.cpp
|
2004-09-19 22:00:16 +00:00
|
|
|
streams/sstream.cpp
|
2005-03-13 16:20:51 +00:00
|
|
|
streams/tempfile.cpp
|
2004-11-21 18:26:38 +00:00
|
|
|
streams/textstreamtest.cpp
|
2004-04-18 19:26:20 +00:00
|
|
|
streams/zlibstream.cpp
|
2006-03-31 13:46:38 +00:00
|
|
|
textfile/textfiletest.cpp
|
2007-07-04 20:54:14 +00:00
|
|
|
thread/atomic.cpp
|
2007-11-01 01:35:20 +00:00
|
|
|
thread/queue.cpp
|
2008-08-29 23:28:42 +00:00
|
|
|
thread/tls.cpp
|
2004-11-04 21:54:29 +00:00
|
|
|
uris/uris.cpp
|
2007-07-07 10:09:42 +00:00
|
|
|
vectors/vectors.cpp
|
2008-01-13 01:12:13 +00:00
|
|
|
weakref/evtconnection.cpp
|
|
|
|
weakref/weakref.cpp
|
2008-02-10 17:03:23 +00:00
|
|
|
xlocale/xlocale.cpp
|
2008-03-29 22:55:35 +00:00
|
|
|
xml/xmltest.cpp
|
2004-03-03 22:56:16 +00:00
|
|
|
</sources>
|
2004-11-04 21:54:29 +00:00
|
|
|
<wx-lib>net</wx-lib>
|
2004-03-03 22:56:16 +00:00
|
|
|
<wx-lib>base</wx-lib>
|
2008-03-29 22:55:35 +00:00
|
|
|
<wx-lib>xml</wx-lib>
|
2004-03-03 22:56:16 +00:00
|
|
|
</exe>
|
2004-12-14 20:29:20 +00:00
|
|
|
|
2004-12-12 12:35:45 +00:00
|
|
|
|
|
|
|
<exe id="test_gui" template="wx_sample,wx_test"
|
|
|
|
template_append="wx_append"
|
|
|
|
cond="USE_GUI=='1'">
|
2004-12-12 19:25:46 +00:00
|
|
|
|
|
|
|
<!-- link against GUI libraries, but be a console app: -->
|
|
|
|
<app-type>console</app-type>
|
2004-12-14 20:29:20 +00:00
|
|
|
|
2004-12-12 12:35:45 +00:00
|
|
|
<sources>
|
|
|
|
test.cpp
|
2004-12-12 19:23:19 +00:00
|
|
|
geometry/rect.cpp
|
2004-12-14 20:29:20 +00:00
|
|
|
geometry/size.cpp
|
|
|
|
geometry/point.cpp
|
2007-07-21 23:51:19 +00:00
|
|
|
config/config.cpp
|
2008-09-19 10:18:30 +00:00
|
|
|
controls/comboboxtest.cpp
|
2007-09-26 00:28:31 +00:00
|
|
|
controls/textctrltest.cpp
|
2008-09-19 08:55:25 +00:00
|
|
|
controls/textentrytest.cpp
|
2008-05-30 19:30:23 +00:00
|
|
|
image/rawbmp.cpp
|
2008-09-22 16:03:45 +00:00
|
|
|
misc/guifuncs.cpp
|
2008-03-31 15:22:10 +00:00
|
|
|
misc/selstoretest.cpp
|
2008-05-25 02:56:22 +00:00
|
|
|
window/clientsize.cpp
|
2008-05-25 03:08:31 +00:00
|
|
|
window/setsize.cpp
|
2004-12-12 12:35:45 +00:00
|
|
|
</sources>
|
|
|
|
<wx-lib>core</wx-lib>
|
|
|
|
<wx-lib>base</wx-lib>
|
|
|
|
</exe>
|
|
|
|
|
2004-03-03 22:56:16 +00:00
|
|
|
|
2004-04-30 20:26:14 +00:00
|
|
|
<wx-data id="data">
|
|
|
|
<files>testdata.fc</files>
|
|
|
|
</wx-data>
|
|
|
|
|
2007-03-26 21:12:13 +00:00
|
|
|
<template id="catalog">
|
|
|
|
<dstdir>$(BUILDDIR)/intl/$(id)</dstdir>
|
|
|
|
<srcdir>$(SRCDIR)/intl/$(id)</srcdir>
|
|
|
|
<files>internat.po internat.mo</files>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<wx-data id="fr" template="catalog"/>
|
2006-09-05 21:14:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- BENCHMARKS -->
|
|
|
|
|
|
|
|
<exe id="printfbench" template="wx_sample_console,wx_test"
|
|
|
|
template_append="wx_append_base">
|
|
|
|
<sources>
|
|
|
|
benchmarks/printfbench.cpp
|
|
|
|
</sources>
|
|
|
|
<wx-lib>base</wx-lib>
|
|
|
|
</exe>
|
|
|
|
|
|
|
|
|
2004-03-03 22:56:16 +00:00
|
|
|
</makefile>
|