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