support monolithic build using wxpresets (patch 1360289)
[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">2</set>
16
17     <!-- this is just a wrapper that includes the real implementation: -->
18
19     <set var="__wx_included_impl">0</set>
20
21     <if cond="FORMAT in ['autoconf','gnu']">
22         <include file="wx_unix.bkl"/>
23         <set var="__wx_included_impl">1</set>
24     </if>
25
26     <if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
27         <include file="wx_win32.bkl"/>
28         <set var="__wx_included_impl">1</set>
29     </if>
30
31     <if cond="__wx_included_impl=='0'">
32         <error>This format is not (yet) supported by wx preset.</error>
33     </if>
34
35 </makefile>