]>
Commit | Line | Data |
---|---|---|
fe0895cf VS |
1 | <?xml version="1.0" ?> |
2 | <makefile> | |
3 | ||
4 | <include file="../../build/bakefiles/common_samples.bkl"/> | |
5 | ||
2804f77d VZ |
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="client" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)"> | |
9539ad0b | 15 | <sources>client.cpp</sources> |
fe0895cf | 16 | <wx-lib>core</wx-lib> |
7c4728f6 | 17 | <wx-lib>net</wx-lib> |
9c859e43 | 18 | <wx-lib>base</wx-lib> |
9539ad0b MB |
19 | <win32-res>client.rc</win32-res> |
20 | </exe> | |
21 | ||
2804f77d | 22 | <exe id="server" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)"> |
9539ad0b MB |
23 | <sources>server.cpp</sources> |
24 | <wx-lib>core</wx-lib> | |
7c4728f6 | 25 | <wx-lib>net</wx-lib> |
9539ad0b MB |
26 | <wx-lib>base</wx-lib> |
27 | <win32-res>server.rc</win32-res> | |
fe0895cf VS |
28 | </exe> |
29 | ||
2804f77d VZ |
30 | <exe id="baseclient" template="wx_sample_console" |
31 | template_append="wx_append_base"> | |
32 | <sources>baseclient.cpp</sources> | |
33 | <wx-lib>net</wx-lib> | |
34 | <wx-lib>base</wx-lib> | |
35 | </exe> | |
36 | ||
37 | <exe id="baseserver" template="wx_sample_console" | |
38 | template_append="wx_append_base"> | |
39 | <sources>baseserver.cpp</sources> | |
40 | <wx-lib>net</wx-lib> | |
41 | <wx-lib>base</wx-lib> | |
42 | </exe> | |
43 | ||
fe0895cf | 44 | </makefile> |