2004-03-03 17:56:16 -05:00
|
|
|
<?xml version="1.0" ?>
|
2004-03-06 06:23:49 -05:00
|
|
|
<!-- $Id$ -->
|
2004-03-03 17:56:16 -05:00
|
|
|
|
|
|
|
<makefile>
|
2008-09-19 05:03:01 -04: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 17:56:16 -05:00
|
|
|
|
|
|
|
<include file="../build/bakefiles/common_samples.bkl"/>
|
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
<template id="wx_test">
|
|
|
|
<cppflags>$(CPPUNIT_CFLAGS)</cppflags>
|
|
|
|
<ldflags>$(CPPUNIT_LIBS)</ldflags>
|
2004-12-14 15:29:20 -05:00
|
|
|
|
2004-11-22 00:00:19 -05: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 07:35:45 -05:00
|
|
|
</template>
|
2004-11-22 00:00:19 -05:00
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
<exe id="test" template="wx_sample_console,wx_test"
|
|
|
|
template_append="wx_append_base">
|
2004-03-03 17:56:16 -05:00
|
|
|
<sources>
|
|
|
|
test.cpp
|
2004-11-10 18:58:38 -05:00
|
|
|
archive/archivetest.cpp
|
2005-02-10 09:06:08 -05:00
|
|
|
archive/ziptest.cpp
|
2006-10-27 06:11:46 -04:00
|
|
|
archive/tartest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
arrays/arrays.cpp
|
2007-07-09 21:51:43 -04:00
|
|
|
base64/base64.cpp
|
2008-04-12 13:03:09 -04:00
|
|
|
cmdline/cmdlinetest.cpp
|
2007-07-21 19:51:19 -04:00
|
|
|
config/fileconf.cpp
|
2004-10-31 00:41:27 -04:00
|
|
|
datetime/datetimetest.cpp
|
2009-02-01 18:20:27 -05:00
|
|
|
events/evthandler.cpp
|
2008-10-27 18:04:42 -04:00
|
|
|
events/timertest.cpp
|
2005-02-12 16:53:51 -05:00
|
|
|
filekind/filekind.cpp
|
2004-10-31 00:41:27 -04:00
|
|
|
filename/filenametest.cpp
|
|
|
|
filesys/filesystest.cpp
|
|
|
|
fontmap/fontmaptest.cpp
|
|
|
|
formatconverter/formatconvertertest.cpp
|
2004-05-22 13:52:44 -04:00
|
|
|
hashes/hashes.cpp
|
2007-03-26 17:12:13 -04:00
|
|
|
intl/intltest.cpp
|
2004-12-08 17:39:22 -05:00
|
|
|
lists/lists.cpp
|
2004-10-31 00:41:27 -04:00
|
|
|
longlong/longlongtest.cpp
|
2006-04-05 10:38:42 -04:00
|
|
|
mbconv/convautotest.cpp
|
2004-10-31 00:41:27 -04:00
|
|
|
mbconv/mbconvtest.cpp
|
2008-08-02 18:49:01 -04:00
|
|
|
misc/misctests.cpp
|
2008-07-13 22:19:34 -04:00
|
|
|
net/ipc.cpp
|
2008-10-12 16:45:29 -04:00
|
|
|
net/socket.cpp
|
2004-10-31 00:41:27 -04:00
|
|
|
regex/regextest.cpp
|
|
|
|
regex/wxregextest.cpp
|
2005-06-16 19:47:30 -04:00
|
|
|
scopeguard/scopeguardtest.cpp
|
2007-10-08 20:10:07 -04:00
|
|
|
strings/iostream.cpp
|
2004-04-20 14:55:09 -04:00
|
|
|
strings/strings.cpp
|
2004-05-21 03:59:14 -04:00
|
|
|
strings/stdstrings.cpp
|
2005-12-20 11:30:12 -05:00
|
|
|
strings/tokenizer.cpp
|
2007-03-17 06:26:10 -04:00
|
|
|
strings/unichar.cpp
|
2004-04-30 16:26:14 -04:00
|
|
|
strings/unicode.cpp
|
2007-03-17 06:26:10 -04:00
|
|
|
strings/vararg.cpp
|
2004-06-03 15:48:31 -04:00
|
|
|
strings/crt.cpp
|
2006-05-28 11:18:15 -04:00
|
|
|
strings/vsnprintf.cpp
|
2004-04-18 15:26:20 -04:00
|
|
|
streams/bstream.cpp
|
2004-11-24 17:31:25 -05:00
|
|
|
streams/datastreamtest.cpp
|
2004-04-18 15:26:20 -04:00
|
|
|
streams/ffilestream.cpp
|
2006-10-23 17:58:35 -04:00
|
|
|
streams/fileback.cpp
|
2004-04-18 15:26:20 -04:00
|
|
|
streams/filestream.cpp
|
2008-06-15 13:34:50 -04:00
|
|
|
streams/iostreams.cpp
|
2005-02-04 04:43:47 -05:00
|
|
|
streams/largefile.cpp
|
2004-04-18 15:26:20 -04:00
|
|
|
streams/memstream.cpp
|
2008-07-07 20:19:54 -04:00
|
|
|
streams/socketstream.cpp
|
2004-09-19 18:00:16 -04:00
|
|
|
streams/sstream.cpp
|
2005-03-13 11:20:51 -05:00
|
|
|
streams/tempfile.cpp
|
2004-11-21 13:26:38 -05:00
|
|
|
streams/textstreamtest.cpp
|
2004-04-18 15:26:20 -04:00
|
|
|
streams/zlibstream.cpp
|
2006-03-31 08:46:38 -05:00
|
|
|
textfile/textfiletest.cpp
|
2007-07-04 16:54:14 -04:00
|
|
|
thread/atomic.cpp
|
2007-10-31 21:35:20 -04:00
|
|
|
thread/queue.cpp
|
2008-08-29 19:28:42 -04:00
|
|
|
thread/tls.cpp
|
2004-11-04 16:54:29 -05:00
|
|
|
uris/uris.cpp
|
2007-07-07 06:09:42 -04:00
|
|
|
vectors/vectors.cpp
|
2008-01-12 20:12:13 -05:00
|
|
|
weakref/evtconnection.cpp
|
|
|
|
weakref/weakref.cpp
|
2008-02-10 12:03:23 -05:00
|
|
|
xlocale/xlocale.cpp
|
2008-03-29 18:55:35 -04:00
|
|
|
xml/xmltest.cpp
|
2004-03-03 17:56:16 -05:00
|
|
|
</sources>
|
2004-11-04 16:54:29 -05:00
|
|
|
<wx-lib>net</wx-lib>
|
2004-03-03 17:56:16 -05:00
|
|
|
<wx-lib>base</wx-lib>
|
2008-03-29 18:55:35 -04:00
|
|
|
<wx-lib>xml</wx-lib>
|
2004-03-03 17:56:16 -05:00
|
|
|
</exe>
|
2004-12-14 15:29:20 -05:00
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
|
|
|
|
<exe id="test_gui" template="wx_sample,wx_test"
|
|
|
|
template_append="wx_append"
|
|
|
|
cond="USE_GUI=='1'">
|
2004-12-12 14:25:46 -05:00
|
|
|
|
|
|
|
<!-- link against GUI libraries, but be a console app: -->
|
|
|
|
<app-type>console</app-type>
|
2004-12-14 15:29:20 -05:00
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
<sources>
|
|
|
|
test.cpp
|
2004-12-12 14:23:19 -05:00
|
|
|
geometry/rect.cpp
|
2004-12-14 15:29:20 -05:00
|
|
|
geometry/size.cpp
|
|
|
|
geometry/point.cpp
|
2007-07-21 19:51:19 -04:00
|
|
|
config/config.cpp
|
2008-09-19 06:18:30 -04:00
|
|
|
controls/comboboxtest.cpp
|
2008-12-03 16:53:10 -05:00
|
|
|
controls/headerctrltest.cpp
|
|
|
|
controls/listctrltest.cpp
|
2007-09-25 20:28:31 -04:00
|
|
|
controls/textctrltest.cpp
|
2008-09-19 04:55:25 -04:00
|
|
|
controls/textentrytest.cpp
|
2009-01-17 08:16:25 -05:00
|
|
|
controls/treectrltest.cpp
|
2009-01-16 11:21:50 -05:00
|
|
|
events/propagation.cpp
|
2008-05-30 15:30:23 -04:00
|
|
|
image/rawbmp.cpp
|
2008-10-15 11:55:25 -04:00
|
|
|
html/htmlwindow.cpp
|
2008-09-22 12:03:45 -04:00
|
|
|
misc/guifuncs.cpp
|
2008-03-31 11:22:10 -04:00
|
|
|
misc/selstoretest.cpp
|
2009-01-10 19:39:22 -05:00
|
|
|
misc/garbage.cpp
|
2008-12-27 06:14:10 -05:00
|
|
|
<!--
|
|
|
|
This one is intentionally duplicated here (it is also part of
|
|
|
|
non-GUI test) as sockets behave differently in console and GUI
|
|
|
|
applications.
|
|
|
|
-->
|
|
|
|
net/socket.cpp
|
2008-05-24 22:56:22 -04:00
|
|
|
window/clientsize.cpp
|
2008-05-24 23:08:31 -04:00
|
|
|
window/setsize.cpp
|
2004-12-12 07:35:45 -05:00
|
|
|
</sources>
|
2009-01-10 19:39:22 -05:00
|
|
|
<wx-lib>media</wx-lib>
|
|
|
|
<wx-lib>xrc</wx-lib>
|
|
|
|
<wx-lib>xml</wx-lib>
|
|
|
|
<wx-lib>adv</wx-lib>
|
2008-10-15 11:55:25 -04:00
|
|
|
<wx-lib>html</wx-lib>
|
2004-12-12 07:35:45 -05:00
|
|
|
<wx-lib>core</wx-lib>
|
2008-12-27 06:14:10 -05:00
|
|
|
<wx-lib>net</wx-lib>
|
2004-12-12 07:35:45 -05:00
|
|
|
<wx-lib>base</wx-lib>
|
|
|
|
</exe>
|
|
|
|
|
2004-03-03 17:56:16 -05:00
|
|
|
|
2004-04-30 16:26:14 -04:00
|
|
|
<wx-data id="data">
|
|
|
|
<files>testdata.fc</files>
|
|
|
|
</wx-data>
|
|
|
|
|
2007-03-26 17:12:13 -04: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 17:14:38 -04: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 17:56:16 -05:00
|
|
|
</makefile>
|