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