40ff272990
As this sample uses GUI Windows functions, it requires this library. Not sure why it isn't added by bakefile automatically for app-type==gui target. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
37 lines
1.0 KiB
XML
37 lines
1.0 KiB
XML
<?xml version="1.0" ?>
|
|
<!-- $Id$ -->
|
|
|
|
<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>
|