File: ipc.bkl

package info (click to toggle)
wxpython3.0 3.0.2.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 482,760 kB
  • ctags: 518,293
  • sloc: cpp: 2,127,226; python: 294,045; makefile: 51,942; ansic: 19,033; sh: 3,013; xml: 1,629; perl: 17
file content (47 lines) | stat: -rw-r--r-- 1,611 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" ?>
<makefile>

    <include file="../../build/bakefiles/common_samples.bkl"/>

    <if cond="FORMAT=='gnu'">
        <!-- as we can't (easily) test for GUI, build them always -->
        <set var="cond_build_gui">1</set>
    </if>
    <if cond="FORMAT!='gnu'">
        <set var="cond_build_gui">USE_GUI=='1'</set>
    </if>

    <exe id="ipcclient" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)">
        <sources>client.cpp</sources>
        <headers>client.h connection.h ipcsetup.h</headers>
        <wx-lib>core</wx-lib>
        <wx-lib>net</wx-lib>
        <wx-lib>base</wx-lib>
    </exe>

    <exe id="ipcserver" template="wx_sample" template_append="wx_append" cond="$(cond_build_gui)">
        <sources>server.cpp</sources>
        <headers>server.h connection.h ipcsetup.h</headers>
        <wx-lib>core</wx-lib>
        <wx-lib>net</wx-lib>
        <wx-lib>base</wx-lib>
    </exe>

    <!-- WinCE doesn't have console applications: -->
    <if cond="FORMAT!='msevc4prj'">
        <exe id="baseipcclient" template="wx_sample_console" template_append="wx_append_base">
            <sources>baseclient.cpp</sources>
            <headers>connection.h ipcsetup.h</headers>
            <wx-lib>net</wx-lib>
            <wx-lib>base</wx-lib>
        </exe>

        <exe id="baseipcserver" template="wx_sample_console" template_append="wx_append_base">
            <sources>baseserver.cpp</sources>
            <headers>connection.h ipcsetup.h</headers>
            <wx-lib>net</wx-lib>
            <wx-lib>base</wx-lib>
        </exe>
    </if>

</makefile>