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