]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/wxpresets/presets/wx.bkl
added native Mac implementation of wxAboutBox(); also moved aboutdlg.* files from...
[wxWidgets.git] / build / bakefiles / wxpresets / presets / wx.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <!--
5 Presets for building wxWidgets applications.
6
7 FIXME: docs
8 -->
9
10
11 <makefile>
12
13 <!-- this variable identifies the version of the wx presets.
14 this is changed only when major changes to wxpresets take place. -->
15 <set var="WX_PRESETS_VERSION">3</set>
16
17 <!-- list of known libraries used by wx-lib tag defined in wx_unix.bkl and wx_win32.bkl -->
18 <set var="LIB_LIST">base core net xml odbc xrc html adv media gl dbgrid qa</set>
19
20 <!-- NOTE: refer to the NET contrib using NETUTILS instead of NET
21 (which is already in LIB_LIST) -->
22 <set var="CONTRIBLIB_LIST">animate applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg</set>
23 <set var="ALLLIB_LIST">$(LIB_LIST) $(CONTRIBLIB_LIST)</set>
24
25 <!-- this is a temporary variable until there is non general -->
26 <!-- function in bakefiles for returning native markup for -->
27 <!-- reading envrionment variables -->
28 <set var="ENV_VAR">
29 <if cond="FORMAT=='watcom'">%</if>
30 <if cond="FORMAT!='watcom'"></if>
31 </set>
32
33
34 <!-- The directory where wxWidgets is installed: -->
35 <if cond="not isdefined('WX_DIR')">
36 <set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set>
37 <option name="WX_DIR" category="path">
38 <default-value>$(WX_DIR_DEFAULT)</default-value>
39 <description>
40 The directory where wxWidgets library is installed
41 </description>
42 </option>
43 </if>
44
45
46
47 <!-- this is just a wrapper that includes the real implementation: -->
48
49 <set var="__wx_included_impl">0</set>
50
51 <if cond="FORMAT in ['autoconf','gnu']">
52 <include file="wx_unix.bkl"/>
53 <set var="__wx_included_impl">1</set>
54 </if>
55
56 <if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
57 <include file="wx_win32.bkl"/>
58 <set var="__wx_included_impl">1</set>
59 </if>
60
61 <if cond="__wx_included_impl=='0'">
62 <error>This format is not (yet) supported by wx preset.</error>
63 </if>
64
65 </makefile>