]> git.saurik.com Git - wxWidgets.git/blob - samples/dll/dll.bkl
Fix problems with reference counting in wxActiveXContainer.
[wxWidgets.git] / samples / dll / dll.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5 <include file="../../build/bakefiles/common_samples.bkl"/>
6
7 <dll id="my_dll" template="wx" template_append="wx_append"
8 cond="PLATFORM_WIN32=='1'">
9
10 <define>$(DLLFLAG)</define>
11 <define>MY_DLL_BUILDING</define>
12 <include>$(SRCDIR)</include>
13
14 <sources>my_dll.cpp</sources>
15 <wx-lib>core</wx-lib>
16 <wx-lib>base</wx-lib>
17 </dll>
18
19 <!-- this test only makes sense with statically built wx, otherwise
20 the same copy of wx would be used -->
21 <exe id="wx_exe" template="wx_sample" template_append="wx_append"
22 cond="SHARED=='0' and PLATFORM_WIN32=='1'">
23 <sources>wx_exe.cpp</sources>
24 <wx-lib>core</wx-lib>
25 <wx-lib>base</wx-lib>
26 <library>my_dll</library>
27 </exe>
28
29 <exe id="sdk_exe" template="common_settings"
30 cond="PLATFORM_WIN32=='1'">
31 <app-type>gui</app-type>
32 <sources>sdk_exe.cpp</sources>
33 <library>my_dll</library>
34 <sys-lib>user32</sys-lib>
35 </exe>
36 </makefile>