File: dll.bkl

package info (click to toggle)
wxwidgets3.0 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 137,016 kB
  • ctags: 131,238
  • sloc: cpp: 890,738; ansic: 153,196; makefile: 54,278; sh: 35,291; python: 2,935; xml: 1,797; awk: 780; asm: 485; perl: 281
file content (35 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (16)
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
<?xml version="1.0" ?>

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

    <dll id="my_dll" template="wx" template_append="wx_append"
         cond="PLATFORM_WIN32=='1'">

        <define>$(DLLFLAG)</define>
        <define>MY_DLL_BUILDING</define>
        <include>$(SRCDIR)</include>

        <sources>my_dll.cpp</sources>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib>
    </dll>

    <!-- this test only makes sense with statically built wx, otherwise
         the same copy of wx would be used -->
    <exe id="wx_exe" template="wx_sample" template_append="wx_append"
         cond="SHARED=='0' and PLATFORM_WIN32=='1'">
        <sources>wx_exe.cpp</sources>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib>
        <library>my_dll</library>
    </exe>

    <exe id="sdk_exe" template="common_settings"
         cond="PLATFORM_WIN32=='1'">
        <app-type>gui</app-type>
        <sources>sdk_exe.cpp</sources>
        <library>my_dll</library>
        <sys-lib>user32</sys-lib>
    </exe>
</makefile>