6 <set var=
"BUILDING_LIB" overwrite=
"0">0</set>
10 <values-description>,DLL
</values-description>
11 <default-value>0</default-value>
13 What type of library to build?
17 <option name=
"WXUNIV">
19 <values-description>,Universal
</values-description>
20 <default-value>0</default-value>
22 Build wxUniversal instead of native port?
26 <option name=
"UNICODE">
28 <values-description>,Unicode
</values-description>
29 <default-value>0</default-value>
31 Compile Unicode build of wxWindows?
35 <if cond=
"FORMAT!='autoconf' and FORMAT!='watcom'">
38 <default-value>0</default-value>
40 Use MSLU library when building Unicode version.
44 <if cond=
"FORMAT=='autoconf' or FORMAT=='watcom'">
45 <set var=
"MSLU">0</set>
49 <values>debug,release
</values>
50 <values-description>Debug,Release
</values-description>
51 <default-value>debug
</default-value>
53 Type of compiled binaries
57 <option name=
"DEBUG_INFO">
58 <values>0,
1,default
</values>
59 <default-value>default
</default-value>
61 Should debugging info be included in the executables? The default value
62 "default" means that debug info will be included if BUILD=debug
63 and not included if BUILD=release.
67 <option name=
"DEBUG_FLAG">
68 <values>0,
1,default
</values>
69 <default-value>default
</default-value>
71 Should __WXDEBUG__ be defined? The default value "default" means that it will
72 be defined if BUILD=debug and not defined if BUILD=release.
76 <if cond=
"FORMAT=='msvc'">
77 <option name=
"DEBUG_RUNTIME_LIBS">
78 <values>0,
1,default
</values>
79 <default-value>default
</default-value>
81 Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
82 Acts according to DEBUG_INFO by default.
86 <if cond=
"FORMAT!='msvc'">
87 <set var=
"DEBUG_RUNTIME_LIBS">default
</set>
90 <set var=
"MONOLITHIC_DEFAULT">
91 <if cond=
"FORMAT=='watcom'">1</if>
92 <if cond=
"FORMAT!='watcom'">0</if>
94 <option name=
"MONOLITHIC">
96 <values-description>Multilib,Monolithic
</values-description>
97 <default-value>$(MONOLITHIC_DEFAULT)
</default-value>
99 Multiple libraries or single huge monolithic one?
103 <option name=
"USE_GUI">
105 <values-description>Base,GUI
</values-description>
106 <default-value>1</default-value>
112 <option name=
"USE_HTML">
114 <default-value>1</default-value>
116 Build wxHTML library (USE_GUI must be
1)?
120 <option name=
"USE_OPENGL">
122 <default-value>0</default-value>
124 Build OpenGL canvas library (USE_GUI must be
1)?
128 <option name=
"USE_ODBC">
130 <default-value>0</default-value>
132 Build ODBC database classes (USE_GUI must be
1)?
136 <option name=
"USE_EXCEPTIONS">
138 <default-value>1</default-value>
140 Enable exceptions in compiled code.
144 <option name=
"OFFICIAL_BUILD">
146 <default-value>0</default-value>
148 Is this official build by wxWindows developers?
151 <option name=
"VENDOR">
152 <default-value>custom
</default-value>
154 Use this to name your customized DLLs differently
159 <default-value></default-value>
161 Name of your custom configuration. This affects directory
162 where object files are stored as well as the location of
163 compiled .lib files and setup.h under the lib/ toplevel directory.
168 <!-- ================================================================== -->
170 <!-- ================================================================== -->
172 <if cond=
"FORMAT=='autoconf'">
173 <option name=
"DEREZ"/>
174 <option name=
"TOOLKIT"/>
175 <option name=
"TOOLKIT_LOWERCASE"/>
176 <option name=
"TOOLKIT_VERSION"/>
177 <option name=
"TOOLCHAIN_NAME"/>
178 <option name=
"EXTRALIBS"/>
179 <option name=
"EXTRALIBS_XML"/>
180 <option name=
"EXTRALIBS_HTML"/>
181 <option name=
"EXTRALIBS_ODBC"/>
182 <option name=
"EXTRALIBS_GUI"/>
183 <option name=
"EXTRALIBS_OPENGL"/>
184 <option name=
"HOST_SUFFIX"/>
185 <option name=
"SAMPLES_RPATH_FLAG"/>
186 <option name=
"SAMPLES_RPATH_POSTLINK"/>
188 <set var=
"TOP_SRCDIR">$(top_srcdir)/
</set>
189 <set var=
"RUNTIME_LIBS">dynamic
</set>
190 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
194 <!-- ================================================================== -->
195 <!-- windows compilers -->
196 <!-- ================================================================== -->
198 <if cond=
"FORMAT!='autoconf'">
199 <option name=
"RUNTIME_LIBS">
200 <values>dynamic,static
</values>
201 <default-value>dynamic
</default-value>
203 Version of C runtime library to use. You can change this to
204 static if SHARED=
0, but it is highly recommended to not do
205 it if SHARED=
1 unless you know what you are doing.
209 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
211 <set var=
"TOOLKIT">MSW
</set>
212 <set var=
"TOOLKIT_LOWERCASE">$(TOOLKIT.lower())
</set>
213 <set var=
"TOOLKIT_VERSION"/>
214 <set var=
"HOST_SUFFIX"/>
215 <set var=
"EXTRACFLAGS"/>
216 <set var=
"EXTRALIBS"/>
217 <set var=
"EXTRALIBS_XML"/>
218 <set var=
"EXTRALIBS_HTML"/>
219 <set var=
"EXTRALIBS_ODBC"/>
220 <set var=
"EXTRALIBS_GUI"/>
221 <set var=
"EXTRALIBS_OPENGL">
222 <if cond=
"COMPILER=='wat'">opengl32.lib glu32.lib
</if>
223 <if cond=
"COMPILER=='vc'">opengl32.lib glu32.lib
</if>
224 <if cond=
"COMPILER=='gcc'">-lopengl32 -lglu32
</if>
228 <if cond=
"BUILDING_LIB=='1'">..$(DIRSEP)..
</if>
229 <if cond=
"BUILDING_LIB=='0'">.
</if>
231 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
234 <if cond=
"FORMAT=='mingw'">
235 <option name=
"GCC_VERSION">
236 <values>3,
2.95</values>
237 <default-value>3</default-value>
239 Set the version of your Mingw installation here.
240 "
3" ...... this is for Mingw
2.0 or newer (comes with gcc3)
241 "
2.95" ... for Mingw
1.1 or any of the older versions
245 <if cond=
"GCC_VERSION=='2.95'">-fvtable-thunks
</if>
247 <set var=
"EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H
</set>
250 <if cond=
"FORMAT=='cbuilderx'">
251 <set var=
"EXTRACFLAGS">
252 <if cond=
"COMPILER=='gcc'">-DHAVE_W32API_H
</if>
257 <!-- ================================================================== -->
258 <!-- Project files - hardcode some defaults -->
259 <!-- ================================================================== -->
261 <if cond=
"FORMAT_SUPPORTS_CONDITIONS=='0'">
262 <set var=
"RUNTIME_LIBS">dynamic
</set>
263 <set var=
"OFFICIAL_BUILD">0</set>
264 <set var=
"USE_HTML">1</set>
265 <set var=
"USE_OPENGL">1</set>
266 <set var=
"USE_ODBC">1</set>
267 <set var=
"MONOLITHIC">0</set>
268 <set var=
"USE_GUI">1</set>
269 <set var=
"USE_EXCEPTIONS">1</set>
270 <set var=
"DEBUG_INFO">default
</set>
271 <set var=
"DEBUG_FLAG">default
</set>
272 <set var=
"MSLU">0</set>
277 C++BuilderX supports only wxMSW, monolithic (sic!) static build
278 and the project can't be put into build/msw and store objects in
279 build/msw/something. This *must* be fixed! -->
280 <if cond=
"FORMAT=='cbuilderx'">
281 <set var=
"WXUNIV">0</set>
282 <set var=
"MONOLITHIC">1</set>
283 <set var=
"SRCDIR">.
</set>
284 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
285 <set var=
"SHARED">0</set>
289 <!-- DigitalMars make is braindead, it doesn't have conditional
291 <if cond=
"FORMAT=='dmars'">
292 <set var=
"RUNTIME_LIBS">static
</set>
293 <set var=
"BUILD">debug
</set>
294 <set var=
"SHARED">0</set>
295 <set var=
"WXUNIV">0</set>
296 <set var=
"UNICODE">0</set>