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 wxWidgets?
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 <!-- FIXME: restore this once bakefile is fixed to not use
58 /Gm /GZ (incompatible with /O2) w/ debug-info -->
59 <set var=
"DEBUG_INFO_DEFAULT">
60 <if cond=
"FORMAT in ['msvc','msvc6prj','msevc4prj']">1</if>
61 <if cond=
"FORMAT not in ['msvc','msvc6prj','msevc4prj']">default
</if>
64 <set var=
"DEBUG_INFO_DEFAULT">default
</set>
66 <option name=
"DEBUG_INFO">
67 <values>0,
1,default
</values>
68 <default-value>$(DEBUG_INFO_DEFAULT)
</default-value>
70 Should debugging info be included in the executables? The default value
71 "default" means that debug info will be included if BUILD=debug
72 and not included if BUILD=release.
76 <option name=
"DEBUG_FLAG">
77 <values>0,
1,default
</values>
78 <default-value>default
</default-value>
80 Should __WXDEBUG__ be defined? The default value "default" means that it will
81 be defined if BUILD=debug and not defined if BUILD=release.
85 <if cond=
"FORMAT=='msvc'">
86 <option name=
"DEBUG_RUNTIME_LIBS">
87 <values>0,
1,default
</values>
88 <default-value>default
</default-value>
90 Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
91 Acts according to BUILD by default.
95 <if cond=
"FORMAT!='msvc'">
96 <set var=
"DEBUG_RUNTIME_LIBS">default
</set>
99 <set var=
"MONOLITHIC_DEFAULT">
100 <if cond=
"FORMAT=='watcom'">1</if>
101 <if cond=
"FORMAT!='watcom'">0</if>
103 <option name=
"MONOLITHIC">
105 <values-description>Multilib,Monolithic
</values-description>
106 <default-value>$(MONOLITHIC_DEFAULT)
</default-value>
108 Multiple libraries or single huge monolithic one?
112 <if cond=
"FORMAT=='autoconf'"> <!-- FIXME - temporary -->
113 <option name=
"USE_PLUGINS">
115 <default-value>1</default-value>
117 Build parts of the library as dynamically loadable plugins
118 (only supported in multilib build)?
122 <if cond=
"FORMAT!='autoconf'">
123 <set var=
"USE_PLUGINS">0</set> <!-- FIXME - temporary -->
126 <option name=
"USE_GUI">
128 <values-description>Base,GUI
</values-description>
129 <default-value>1</default-value>
135 <option name=
"USE_HTML">
137 <default-value>1</default-value>
139 Build wxHTML library (USE_GUI must be
1)?
143 <option name=
"USE_XRC">
145 <default-value>1</default-value>
147 Build wxXRC library (USE_GUI must be
1)?
151 <option name=
"USE_OPENGL">
153 <default-value>0</default-value>
155 Build OpenGL canvas library (USE_GUI must be
1)?
159 <option name=
"USE_ODBC">
161 <default-value>0</default-value>
163 Build ODBC database classes (USE_GUI must be
1)?
167 <option name=
"USE_QA">
169 <default-value>0</default-value>
171 Build quality assurance classes library (USE_GUI must be
1)?
175 <option name=
"USE_EXCEPTIONS">
177 <default-value>1</default-value>
179 Enable exceptions in compiled code.
183 <option name=
"USE_RTTI">
185 <default-value>1</default-value>
187 Enable run-time type information (RTTI) in compiled code.
191 <option name=
"USE_THREADS">
193 <default-value>1</default-value>
195 Enable threading in compiled code.
199 <option name=
"OFFICIAL_BUILD">
201 <default-value>0</default-value>
203 Is this official build by wxWidgets developers?
206 <option name=
"VENDOR">
207 <default-value>custom
</default-value>
209 Use this to name your customized DLLs differently
212 <!-- These basically do what vendor does in the places it didn't. -->
213 <!-- They should all be unified under some suitable descriptor -->
214 <option name=
"WX_FLAVOUR">
215 <default-value></default-value>
217 <option name=
"WX_LIB_FLAVOUR">
218 <default-value></default-value>
222 <default-value></default-value>
224 Name of your custom configuration. This affects directory
225 where object files are stored as well as the location of
226 compiled .lib files and setup.h under the lib/ toplevel directory.
230 <!-- unit tests support: -->
231 <option name=
"CPPUNIT_CFLAGS">
232 <default-value></default-value>
234 Compiler flags needed to compile test suite in tests directory. If you want
235 to run the tests, set it so that the compiler can find CppUnit headers.
239 <option name=
"CPPUNIT_LIBS">
240 <default-value></default-value>
242 Linker flags needed to link test suite in tests directory. If you want
243 to run the tests, include CppUnit library here.
248 <!-- ================================================================== -->
250 <!-- ================================================================== -->
252 <if cond=
"FORMAT=='autoconf'">
253 <option name=
"DEREZ"/>
254 <option name=
"TOOLKIT"/>
255 <option name=
"TOOLKIT_LOWERCASE"/>
256 <option name=
"TOOLKIT_VERSION"/>
257 <option name=
"TOOLCHAIN_NAME"/>
258 <option name=
"TOOLCHAIN_FULLNAME"/>
259 <option name=
"EXTRALIBS"/>
260 <option name=
"EXTRALIBS_XML"/>
261 <option name=
"EXTRALIBS_HTML"/>
262 <option name=
"EXTRALIBS_ODBC"/>
263 <option name=
"EXTRALIBS_GUI"/>
264 <option name=
"EXTRALIBS_OPENGL"/>
265 <option name=
"EXTRALIBS_SDL"/>
266 <option name=
"EXTRALIBS_GNOMEPRINT"/>
267 <option name=
"HOST_SUFFIX"/>
268 <option name=
"SAMPLES_RPATH_FLAG"/>
269 <option name=
"SAMPLES_RPATH_POSTLINK"/>
271 <set var=
"TOP_SRCDIR">$(top_srcdir)/
</set>
272 <set var=
"RUNTIME_LIBS">dynamic
</set>
273 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
275 <option name=
"WITH_PLUGIN_SDL">
281 <!-- ================================================================== -->
282 <!-- windows compilers -->
283 <!-- ================================================================== -->
285 <if cond=
"FORMAT!='autoconf'">
286 <option name=
"RUNTIME_LIBS">
287 <values>dynamic,static
</values>
288 <default-value>dynamic
</default-value>
290 Version of C runtime library to use. You can change this to
291 static if SHARED=
0, but it is highly recommended to not do
292 it if SHARED=
1 unless you know what you are doing.
296 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
298 <set var=
"TOOLKIT" overwrite=
"0">
299 <if cond=
"FORMAT!='msevc4prj'">MSW
</if>
300 <if cond=
"FORMAT=='msevc4prj'">WINCE
</if>
302 <set var=
"TOOLKIT_LOWERCASE">$(TOOLKIT.lower())
</set>
303 <set var=
"TOOLKIT_VERSION"/>
304 <set var=
"HOST_SUFFIX"/>
305 <set var=
"EXTRACFLAGS"/>
306 <set var=
"EXTRALIBS"/>
307 <set var=
"EXTRALIBS_XML"/>
308 <set var=
"EXTRALIBS_HTML"/>
309 <set var=
"EXTRALIBS_ODBC"/>
310 <set var=
"EXTRALIBS_GUI"/>
311 <set var=
"EXTRALIBS_OPENGL">
312 <if cond=
"COMPILER=='wat'">opengl32.lib glu32.lib
</if>
313 <if cond=
"COMPILER in ['vc','evc']">opengl32.lib glu32.lib
</if>
314 <if cond=
"COMPILER=='gcc'">-lopengl32 -lglu32
</if>
316 <set var=
"EXTRALIBS_SDL"/>
317 <set var=
"EXTRALIBS_GNOMEPRINT"/>
319 <set var=
"WITH_PLUGIN_SDL">0</set>
322 <if cond=
"BUILDING_LIB=='1'">..$(DIRSEP)..
</if>
323 <if cond=
"BUILDING_LIB=='0'">.
</if>
325 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
328 <if cond=
"FORMAT=='mingw'">
329 <option name=
"GCC_VERSION">
330 <values>3,
2.95</values>
331 <default-value>3</default-value>
333 Set the version of your Mingw installation here.
334 "
3" ...... this is for Mingw
2.0 or newer (comes with gcc3)
335 "
2.95" ... for Mingw
1.1 or any of the older versions
339 <if cond=
"GCC_VERSION=='2.95'">-fvtable-thunks
</if>
341 <set var=
"EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H
</set>
344 <if cond=
"FORMAT=='cbuilderx'">
345 <set var=
"EXTRACFLAGS">
346 <if cond=
"COMPILER=='gcc'">-DHAVE_W32API_H
</if>
351 <!-- ================================================================== -->
352 <!-- Project files - hardcode some defaults -->
353 <!-- ================================================================== -->
355 <if cond=
"FORMAT_SUPPORTS_CONDITIONS=='0'">
356 <set var=
"RUNTIME_LIBS">dynamic
</set>
357 <set var=
"OFFICIAL_BUILD">0</set>
358 <set var=
"USE_HTML">1</set>
359 <set var=
"USE_XRC">1</set>
360 <set var=
"USE_OPENGL">1</set>
361 <set var=
"USE_ODBC">1</set>
362 <set var=
"USE_QA">1</set>
363 <set var=
"MONOLITHIC">0</set>
364 <set var=
"USE_GUI">1</set>
365 <set var=
"USE_EXCEPTIONS">1</set>
366 <set var=
"USE_RTTI">1</set>
367 <set var=
"USE_THREADS">1</set>
368 <set var=
"DEBUG_INFO">$(DEBUG_INFO_DEFAULT)
</set>
369 <set var=
"DEBUG_FLAG">default
</set>
370 <set var=
"MSLU">0</set>
375 C++BuilderX supports only wxMSW, monolithic (sic!) static build
376 and the project can't be put into build/msw and store objects in
377 build/msw/something. This *must* be fixed! -->
378 <if cond=
"FORMAT=='cbuilderx'">
379 <set var=
"WXUNIV">0</set>
380 <set var=
"MONOLITHIC">1</set>
381 <set var=
"SRCDIR">.
</set>
382 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
383 <set var=
"SHARED">0</set>
387 <!-- DigitalMars make is braindead, it doesn't have conditional
389 <if cond=
"FORMAT=='dmars'">
390 <set var=
"RUNTIME_LIBS">static
</set>
391 <set var=
"BUILD">debug
</set>
392 <set var=
"SHARED">0</set>
393 <set var=
"WXUNIV">0</set>
394 <set var=
"UNICODE">0</set>
395 <!-- Free version does not distribute OpenGL,
396 in commercial distribution better use dmars_smake format -->
397 <set var=
"USE_OPENGL">0</set>
400 <!-- No need for wxUniv on embedded devices (yet): -->
401 <if cond=
"FORMAT=='msevc4prj'">
402 <set var=
"WXUNIV">0</set>
403 <set var=
"UNICODE">1</set>
404 <!-- Uploading debug reports from PDAs seems impractical -->
405 <set var=
"USE_QA">0</set>
406 <set var=
"MONOLITHIC">1</set> <!-- sic! -->