]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/wxpresets/libsample/libsample.bkl
Fix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container...
[wxWidgets.git] / build / bakefiles / wxpresets / libsample / libsample.bkl
1 <?xml version="1.0" ?>
2
3 <makefile>
4
5 <!-- a typical nice feature which wxpresets make available to wx-based programs
6 is to allow the user to build with different configurations those programs;
7 this is achieved in few fundamental steps:
8
9 1) set a different BUILDDIR for different build configurations
10 2) set different output dirs for the libraries built with a
11 different shared/static setting
12 3) set different output names for the libraries built with
13 different unicode/ansi and release/debug settings
14 -->
15 <include file="presets/wx.bkl"/>
16
17 <!-- the following line implements step #1: -->
18 <set-wxlike-builddir/>
19
20 <!-- through the use of the 'wx-lib' and 'wxlike' templates, we'll get
21 the ability to compile against any wxWidgets build using, for our
22 program, the same configuration of the selected wxWidgets build.
23 -->
24 <template id="my" template="wx-lib,wxlike">
25 <!-- wxlike-dirname implements step #2 (see initial comment) -->
26 <wxlike-dirname>lib</wxlike-dirname>
27
28 <sources>libsample.cpp</sources>
29 </template>
30
31
32 <lib id="static" template="my" cond="WX_SHARED=='0'">
33 <!-- wxlike-libname implements step #3 (see initial comment) -->
34 <wxlike-libname prefix='sample'>test</wxlike-libname>
35 </lib>
36
37 <dll id="shared" template="my" cond="WX_SHARED=='1'">
38 <!-- wxlike-dllname does step #3 (see initial comment) -->
39 <wxlike-dllname prefix='sample'>test</wxlike-dllname>
40 <define>WXMAKINGDLL_LIBSAMPLE</define>
41
42 <wx-lib>core</wx-lib>
43 <wx-lib>base</wx-lib>
44 </dll>
45
46 </makefile>