]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/config.bkl
added rendcmn.cpp
[wxWidgets.git] / build / bakefiles / config.bkl
CommitLineData
ddf98968
VS
1<?xml version="1.0" ?>
2<!-- $Id$ -->
3
4<makefile>
498368e9
VS
5
6 <set var="BUILDING_LIB" overwrite="0">0</set>
7
ddf98968
VS
8
9 <option name="UNICODE">
10 <values>0 1</values>
01002a35
VS
11 <values-description>Ansi Unicode</values-description>
12 <default-value>0</default-value>
ddf98968
VS
13 <description>
14 Compile Unicode build of wxWindows?
15 </description>
16 </option>
17
18 <option name="SHARED">
19 <values>0 1</values>
01002a35 20 <values-description>Static DLL</values-description>
ddf98968
VS
21 <default-value>1</default-value>
22 <description>
23 What type of library to build?
24 </description>
25 </option>
26
ddf98968
VS
27 <option name="MONOLITHIC">
28 <values>0 1</values>
01002a35 29 <values-description>Multilib Monolithic</values-description>
eefdc53a 30 <default-value>1</default-value>
ddf98968
VS
31 <description>
32 Multiple libraries or single huge monolithic one?
33 </description>
34 </option>
35
36 <option name="USE_GUI">
37 <values>0 1</values>
01002a35 38 <values-description>Base GUI</values-description>
ddf98968
VS
39 <default-value>1</default-value>
40 <description>
41 Build GUI libraries?
42 </description>
43 </option>
4d264332
VS
44
45 <option name="USE_HTML">
46 <values>0 1</values>
47 <default-value>1</default-value>
48 <description>
49 Build wxHTML library (USE_GUI must be 1)?
50 </description>
51 </option>
52
53 <option name="USE_OPENGL">
54 <values>0 1</values>
a3aa294d 55 <default-value>0</default-value>
4d264332
VS
56 <description>
57 Build OpenGL canvas library (USE_GUI must be 1)?
58 </description>
59 </option>
a69544bf 60
ddf98968
VS
61 <option name="WXUNIV">
62 <values>0 1</values>
01002a35 63 <values-description>Native wxUniv</values-description>
ddf98968
VS
64 <default-value>0</default-value>
65 <description>
66 Build wxUniversal instead of native port?
67 </description>
68 </option>
69
4fc5f509
VS
70 <option name="OFFICIAL_BUILD">
71 <values>0 1</values>
72 <default-value>0</default-value>
73 <description>
74 Is this official build by wxWindows developers?
75 </description>
76 </option>
77 <option name="VENDOR">
78 <default-value>custom</default-value>
79 <description>
80 Use this to name your customized DLLs differently
81 </description>
82 </option>
cff5df9f
VS
83
84 <option name="CFG">
85 <default-value></default-value>
86 <description>
87 Name of your custom configuration. This affects directory
88 where object files are stored as well as the location of
89 compiled .lib files and setup.h under the lib/ toplevel directory.
90 </description>
91 </option>
4fc5f509
VS
92
93
eefdc53a
VS
94 <!-- ================================================================== -->
95 <!-- Autoconf -->
96 <!-- ================================================================== -->
97
ddf98968
VS
98 <if cond="FORMAT=='autoconf'">
99 <option name="DEREZ"/>
100 <option name="TOOLKIT"/>
101 <option name="TOOLKIT_LOWERCASE"/>
102 <option name="TOOLKIT_VERSION"/>
157a3440 103 <option name="TOOLCHAIN_NAME"/>
ddf98968 104 <option name="EXTRALIBS"/>
a69544bf 105 <option name="EXTRALIBS_XML"/>
c74dc163 106 <option name="EXTRALIBS_GUI"/>
34b08d2c 107 <option name="EXTRALIBS_OPENGL"/>
ddf98968 108 <option name="SAMPLES_RPATH_FLAG"/>
ea66c762 109 <option name="HOST_SUFFIX"/>
4b44ea2b 110
4843dc4c 111 <set var="TOP_SRCDIR">$(top_srcdir)/</set>
4b44ea2b 112 <set var="RUNTIME_LIBS">dynamic</set>
ddf98968
VS
113 </if>
114
eefdc53a
VS
115
116 <!-- ================================================================== -->
117 <!-- Windows compilers -->
118 <!-- ================================================================== -->
119
ddf98968 120 <if cond="FORMAT!='autoconf'">
4b44ea2b
VS
121 <option name="RUNTIME_LIBS">
122 <values>dynamic static</values>
123 <default-value>dynamic</default-value>
124 <description>
125 Version of C runtime library to use. You can change this to
126 static if SHARED=0, but it is highly recommended to not do
127 it if SHARED=1 unless you know what you are doing.
128 </description>
129 </option>
130
4843dc4c
VS
131 <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
132
eefdc53a
VS
133 <set var="TOOLKIT">MSW</set>
134 <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
135 <set var="TOOLKIT_VERSION"/>
136 <set var="SAMPLES_RPATH_FLAG"/>
ea66c762 137 <set var="HOST_SUFFIX"/>
6f53cd7c 138 <set var="EXTRALIBS"/>
a69544bf 139 <set var="EXTRALIBS_XML"/>
c74dc163 140 <set var="EXTRALIBS_GUI"/>
65fb1c11 141 <set var="EXTRACFLAGS"/>
eefdc53a 142
cdc0282e
VS
143 <set var="SRCDIR">
144 <if cond="BUILDING_LIB=='1'">..</if>
145 <if cond="BUILDING_LIB=='0'">.</if>
146 </set>
4843dc4c 147 <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
ddf98968 148 </if>
65fb1c11
VS
149
150 <if cond="FORMAT=='mingw'">
151 <option name="GCC_VERSION">
152 <values>3 2.95</values>
153 <default-value>3</default-value>
154 <description>
155 Set the version of your Mingw installation here.
156 "3" ...... this is for Mingw 2.0 or newer that cames with gcc3
157 "2.95" ... for Mingw 1.1 or any of the older versions
158 </description>
159 </option>
160 <set var="GCCFLAGS">
161 <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
162 </set>
163 <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
164 </if>
165
ddf98968 166</makefile>