]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <makefile> | |
3 | ||
4 | <include file="../../build/bakefiles/common_samples.bkl"/> | |
5 | ||
6 | <if cond="FORMAT=='gnu'"> | |
7 | <!-- as we can't (easily) test for GUI, build them always --> | |
8 | <set var="cond_build_gui">1</set> | |
9 | </if> | |
10 | <if cond="FORMAT!='gnu'"> | |
11 | <set var="cond_build_gui">USE_GUI=='1'</set> | |
12 | </if> | |
13 | ||
14 | <exe id="ipcclient" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)"> | |
15 | <sources>client.cpp</sources> | |
16 | <wx-lib>core</wx-lib> | |
17 | <wx-lib>net</wx-lib> | |
18 | <wx-lib>base</wx-lib> | |
19 | </exe> | |
20 | ||
21 | <exe id="ipcserver" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)"> | |
22 | <sources>server.cpp</sources> | |
23 | <wx-lib>core</wx-lib> | |
24 | <wx-lib>net</wx-lib> | |
25 | <wx-lib>base</wx-lib> | |
26 | </exe> | |
27 | ||
28 | <!-- WinCE doesn't have console applications: --> | |
29 | <if cond="FORMAT!='msevc4prj'"> | |
30 | <exe id="baseipcclient" template="wx_sample_console" template_append="wx_append_base"> | |
31 | <sources>baseclient.cpp</sources> | |
32 | <wx-lib>net</wx-lib> | |
33 | <wx-lib>base</wx-lib> | |
34 | </exe> | |
35 | ||
36 | <exe id="baseipcserver" template="wx_sample_console" template_append="wx_append_base"> | |
37 | <sources>baseserver.cpp</sources> | |
38 | <wx-lib>net</wx-lib> | |
39 | <wx-lib>base</wx-lib> | |
40 | </exe> | |
41 | </if> | |
42 | ||
43 | </makefile> |