]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/config.bkl
fixed custom build step for VC++ project files
[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
6990514b
VS
8 <option name="SHARED">
9 <values>0,1</values>
10 <values-description>,DLL</values-description>
11 <default-value>1</default-value>
12 <description>
13 What type of library to build?
14 </description>
15 </option>
16
17 <option name="WXUNIV">
18 <values>0,1</values>
d3e6602e 19 <values-description>,Universal</values-description>
6990514b
VS
20 <default-value>0</default-value>
21 <description>
22 Build wxUniversal instead of native port?
23 </description>
24 </option>
25
26 <option name="UNICODE">
27 <values>0,1</values>
28 <values-description>,Unicode</values-description>
29 <default-value>0</default-value>
30 <description>
31 Compile Unicode build of wxWindows?
32 </description>
33 </option>
34
416f5bc8
VS
35 <if cond="FORMAT!='autoconf' and FORMAT!='watcom'">
36 <option name="MSLU">
37 <values>0,1</values>
38 <default-value>0</default-value>
39 <description>
40 Use MSLU library when building Unicode version.
41 </description>
42 </option>
43 </if>
44 <if cond="FORMAT=='autoconf' or FORMAT=='watcom'">
45 <set var="MSLU">0</set>
46 </if>
47
4f6e1dac 48 <option name="BUILD">
6990514b
VS
49 <values>debug,release</values>
50 <values-description>Debug,Release</values-description>
4f6e1dac
VS
51 <default-value>release</default-value>
52 <description>
53 Type of compiled binaries
54 </description>
55 </option>
56
57 <option name="DEBUG_INFO">
6990514b 58 <values>0,1,default</values>
4f6e1dac
VS
59 <default-value>default</default-value>
60 <description>
61Should debugging info be included in the executables? The default value
62"default" means that debug info will be included if BUILD=debug
63and not included if BUILD=release.
64 </description>
65 </option>
66
67 <option name="DEBUG_FLAG">
6990514b 68 <values>0,1,default</values>
4f6e1dac
VS
69 <default-value>default</default-value>
70 <description>
71Should __WXDEBUG__ be defined? The default value "default" means that it will
72be defined if BUILD=debug and not defined if BUILD=release.
73 </description>
74 </option>
75
76 <if cond="FORMAT=='msvc'">
77 <option name="DEBUG_RUNTIME_LIBS">
6990514b 78 <values>0,1,default</values>
4f6e1dac
VS
79 <default-value>default</default-value>
80 <description>
81Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
82Acts according to DEBUG_INFO by default.
83 </description>
84 </option>
85 </if>
86 <if cond="FORMAT!='msvc'">
87 <set var="DEBUG_RUNTIME_LIBS">default</set>
88 </if>
ddf98968 89
ddf98968 90 <option name="MONOLITHIC">
6990514b
VS
91 <values>0,1</values>
92 <values-description>Multilib,Monolithic</values-description>
93 <default-value>0</default-value>
ddf98968
VS
94 <description>
95 Multiple libraries or single huge monolithic one?
96 </description>
97 </option>
98
99 <option name="USE_GUI">
6990514b
VS
100 <values>0,1</values>
101 <values-description>Base,GUI</values-description>
ddf98968
VS
102 <default-value>1</default-value>
103 <description>
104 Build GUI libraries?
105 </description>
106 </option>
4d264332
VS
107
108 <option name="USE_HTML">
6990514b 109 <values>0,1</values>
4d264332
VS
110 <default-value>1</default-value>
111 <description>
112 Build wxHTML library (USE_GUI must be 1)?
113 </description>
114 </option>
115
116 <option name="USE_OPENGL">
6990514b 117 <values>0,1</values>
a3aa294d 118 <default-value>0</default-value>
4d264332
VS
119 <description>
120 Build OpenGL canvas library (USE_GUI must be 1)?
121 </description>
122 </option>
a69544bf 123
bb41dcbe 124 <option name="USE_ODBC">
6990514b 125 <values>0,1</values>
bb41dcbe
VS
126 <default-value>0</default-value>
127 <description>
128 Build ODBC database classes (USE_GUI must be 1)?
129 </description>
130 </option>
131
4fc5f509 132 <option name="OFFICIAL_BUILD">
6990514b 133 <values>0,1</values>
4fc5f509
VS
134 <default-value>0</default-value>
135 <description>
136 Is this official build by wxWindows developers?
137 </description>
138 </option>
139 <option name="VENDOR">
140 <default-value>custom</default-value>
141 <description>
142 Use this to name your customized DLLs differently
143 </description>
144 </option>
cff5df9f
VS
145
146 <option name="CFG">
147 <default-value></default-value>
148 <description>
4f6e1dac
VS
149Name of your custom configuration. This affects directory
150where object files are stored as well as the location of
151compiled .lib files and setup.h under the lib/ toplevel directory.
cff5df9f
VS
152 </description>
153 </option>
4fc5f509
VS
154
155
eefdc53a
VS
156 <!-- ================================================================== -->
157 <!-- Autoconf -->
158 <!-- ================================================================== -->
159
ddf98968
VS
160 <if cond="FORMAT=='autoconf'">
161 <option name="DEREZ"/>
162 <option name="TOOLKIT"/>
163 <option name="TOOLKIT_LOWERCASE"/>
164 <option name="TOOLKIT_VERSION"/>
157a3440 165 <option name="TOOLCHAIN_NAME"/>
ddf98968 166 <option name="EXTRALIBS"/>
a69544bf 167 <option name="EXTRALIBS_XML"/>
bb41dcbe 168 <option name="EXTRALIBS_ODBC"/>
c74dc163 169 <option name="EXTRALIBS_GUI"/>
34b08d2c 170 <option name="EXTRALIBS_OPENGL"/>
ea66c762 171 <option name="HOST_SUFFIX"/>
ef0add05
VS
172 <option name="SAMPLES_RPATH_FLAG"/>
173 <option name="SAMPLES_RPATH_POSTLINK"/>
4b44ea2b 174
4843dc4c 175 <set var="TOP_SRCDIR">$(top_srcdir)/</set>
4b44ea2b 176 <set var="RUNTIME_LIBS">dynamic</set>
e54bb212 177 <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
ddf98968
VS
178 </if>
179
eefdc53a
VS
180
181 <!-- ================================================================== -->
182 <!-- Windows compilers -->
183 <!-- ================================================================== -->
184
ddf98968 185 <if cond="FORMAT!='autoconf'">
4b44ea2b 186 <option name="RUNTIME_LIBS">
6990514b 187 <values>dynamic,static</values>
4b44ea2b
VS
188 <default-value>dynamic</default-value>
189 <description>
4f6e1dac
VS
190Version of C runtime library to use. You can change this to
191static if SHARED=0, but it is highly recommended to not do
192it if SHARED=1 unless you know what you are doing.
4b44ea2b
VS
193 </description>
194 </option>
195
4843dc4c
VS
196 <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
197
eefdc53a
VS
198 <set var="TOOLKIT">MSW</set>
199 <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
200 <set var="TOOLKIT_VERSION"/>
ea66c762 201 <set var="HOST_SUFFIX"/>
6f53cd7c 202 <set var="EXTRALIBS"/>
a69544bf 203 <set var="EXTRALIBS_XML"/>
bb41dcbe 204 <set var="EXTRALIBS_ODBC"/>
c74dc163 205 <set var="EXTRALIBS_GUI"/>
65fb1c11 206 <set var="EXTRACFLAGS"/>
eefdc53a 207
cdc0282e 208 <set var="SRCDIR">
6990514b 209 <if cond="BUILDING_LIB=='1'">..$(DIRSEP)..</if>
cdc0282e
VS
210 <if cond="BUILDING_LIB=='0'">.</if>
211 </set>
4843dc4c 212 <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
ddf98968 213 </if>
65fb1c11
VS
214
215 <if cond="FORMAT=='mingw'">
216 <option name="GCC_VERSION">
6990514b 217 <values>3,2.95</values>
65fb1c11
VS
218 <default-value>3</default-value>
219 <description>
4f6e1dac
VS
220Set the version of your Mingw installation here.
221 "3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
222 "2.95" ... for Mingw 1.1 or any of the older versions
65fb1c11
VS
223 </description>
224 </option>
225 <set var="GCCFLAGS">
226 <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
227 </set>
228 <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
229 </if>
230
ddf98968 231</makefile>