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 <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 <if cond=
"FORMAT=='autoconf'"> <!-- FIXME - temporary -->
104 <option name=
"USE_PLUGINS">
106 <default-value>1</default-value>
108 Build parts of the library as dynamically loadable plugins
109 (only supported in multilib build)?
113 <if cond=
"FORMAT!='autoconf'">
114 <set var=
"USE_PLUGINS">0</set> <!-- FIXME - temporary -->
117 <option name=
"USE_GUI">
119 <values-description>Base,GUI
</values-description>
120 <default-value>1</default-value>
126 <option name=
"USE_HTML">
128 <default-value>1</default-value>
130 Build wxHTML library (USE_GUI must be
1)?
134 <option name=
"USE_XRC">
136 <default-value>1</default-value>
138 Build wxXRC library (USE_GUI must be
1)?
142 <option name=
"USE_OPENGL">
144 <default-value>0</default-value>
146 Build OpenGL canvas library (USE_GUI must be
1)?
150 <option name=
"USE_ODBC">
152 <default-value>0</default-value>
154 Build ODBC database classes (USE_GUI must be
1)?
158 <option name=
"USE_QA">
160 <default-value>0</default-value>
162 Build quality assurance classes library (USE_GUI must be
1)?
166 <option name=
"USE_EXCEPTIONS">
168 <default-value>1</default-value>
170 Enable exceptions in compiled code.
174 <option name=
"USE_RTTI">
176 <default-value>1</default-value>
178 Enable run-time type information (RTTI) in compiled code.
182 <option name=
"USE_THREADS">
184 <default-value>1</default-value>
186 Enable threading in compiled code.
190 <option name=
"OFFICIAL_BUILD">
192 <default-value>0</default-value>
194 Is this official build by wxWidgets developers?
197 <option name=
"VENDOR">
198 <default-value>custom
</default-value>
200 Use this to name your customized DLLs differently
203 <!-- These basically do what vendor does in the places it didn't. -->
204 <!-- They should all be unified under some suitable descriptor -->
205 <option name=
"WX_FLAVOUR">
206 <default-value></default-value>
208 <option name=
"WX_LIB_FLAVOUR">
209 <default-value></default-value>
213 <default-value></default-value>
215 Name of your custom configuration. This affects directory
216 where object files are stored as well as the location of
217 compiled .lib files and setup.h under the lib/ toplevel directory.
221 <!-- unit tests support: -->
222 <option name=
"CPPUNIT_CFLAGS">
223 <default-value></default-value>
225 Compiler flags needed to compile test suite in tests directory. If you want
226 to run the tests, set it so that the compiler can find CppUnit headers.
230 <option name=
"CPPUNIT_LIBS">
231 <default-value></default-value>
233 Linker flags needed to link test suite in tests directory. If you want
234 to run the tests, include CppUnit library here.
239 <!-- ================================================================== -->
241 <!-- ================================================================== -->
243 <if cond=
"FORMAT=='autoconf'">
244 <option name=
"DEREZ"/>
245 <option name=
"TOOLKIT"/>
246 <option name=
"TOOLKIT_LOWERCASE"/>
247 <option name=
"TOOLKIT_VERSION"/>
248 <option name=
"TOOLCHAIN_NAME"/>
249 <option name=
"TOOLCHAIN_FULLNAME"/>
250 <option name=
"EXTRALIBS"/>
251 <option name=
"EXTRALIBS_XML"/>
252 <option name=
"EXTRALIBS_HTML"/>
253 <option name=
"EXTRALIBS_ODBC"/>
254 <option name=
"EXTRALIBS_GUI"/>
255 <option name=
"EXTRALIBS_OPENGL"/>
256 <option name=
"EXTRALIBS_SDL"/>
257 <option name=
"EXTRALIBS_GNOMEPRINT"/>
258 <option name=
"HOST_SUFFIX"/>
259 <option name=
"SAMPLES_RPATH_FLAG"/>
260 <option name=
"SAMPLES_RPATH_POSTLINK"/>
262 <set var=
"TOP_SRCDIR">$(top_srcdir)/
</set>
263 <set var=
"RUNTIME_LIBS">dynamic
</set>
264 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
266 <option name=
"WITH_PLUGIN_SDL">
272 <!-- ================================================================== -->
273 <!-- windows compilers -->
274 <!-- ================================================================== -->
276 <if cond=
"FORMAT!='autoconf'">
277 <option name=
"RUNTIME_LIBS">
278 <values>dynamic,static
</values>
279 <default-value>dynamic
</default-value>
281 Version of C runtime library to use. You can change this to
282 static if SHARED=
0, but it is highly recommended to not do
283 it if SHARED=
1 unless you know what you are doing.
287 <set var=
"WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
289 <set var=
"TOOLKIT" overwrite=
"0">
290 <if cond=
"FORMAT!='msevc4prj'">MSW
</if>
291 <if cond=
"FORMAT=='msevc4prj'">WINCE
</if>
293 <set var=
"TOOLKIT_LOWERCASE">$(TOOLKIT.lower())
</set>
294 <set var=
"TOOLKIT_VERSION"/>
295 <set var=
"HOST_SUFFIX"/>
296 <set var=
"EXTRACFLAGS"/>
297 <set var=
"EXTRALIBS"/>
298 <set var=
"EXTRALIBS_XML"/>
299 <set var=
"EXTRALIBS_HTML"/>
300 <set var=
"EXTRALIBS_ODBC"/>
301 <set var=
"EXTRALIBS_GUI"/>
302 <set var=
"EXTRALIBS_OPENGL">
303 <if cond=
"COMPILER=='wat'">opengl32.lib glu32.lib
</if>
304 <if cond=
"COMPILER in ['vc','evc']">opengl32.lib glu32.lib
</if>
305 <if cond=
"COMPILER=='gcc'">-lopengl32 -lglu32
</if>
307 <set var=
"EXTRALIBS_SDL"/>
308 <set var=
"EXTRALIBS_GNOMEPRINT"/>
310 <set var=
"WITH_PLUGIN_SDL">0</set>
313 <if cond=
"BUILDING_LIB=='1'">..$(DIRSEP)..
</if>
314 <if cond=
"BUILDING_LIB=='0'">.
</if>
316 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
319 <if cond=
"FORMAT=='mingw'">
320 <option name=
"GCC_VERSION">
321 <values>3,
2.95</values>
322 <default-value>3</default-value>
324 Set the version of your Mingw installation here.
325 "
3" ...... this is for Mingw
2.0 or newer (comes with gcc3)
326 "
2.95" ... for Mingw
1.1 or any of the older versions
330 <if cond=
"GCC_VERSION=='2.95'">-fvtable-thunks
</if>
332 <set var=
"EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H
</set>
335 <if cond=
"FORMAT=='cbuilderx'">
336 <set var=
"EXTRACFLAGS">
337 <if cond=
"COMPILER=='gcc'">-DHAVE_W32API_H
</if>
342 <!-- ================================================================== -->
343 <!-- Project files - hardcode some defaults -->
344 <!-- ================================================================== -->
346 <if cond=
"FORMAT_SUPPORTS_CONDITIONS=='0'">
347 <set var=
"RUNTIME_LIBS">dynamic
</set>
348 <set var=
"OFFICIAL_BUILD">0</set>
349 <set var=
"USE_HTML">1</set>
350 <set var=
"USE_XRC">1</set>
351 <set var=
"USE_OPENGL">1</set>
352 <set var=
"USE_ODBC">1</set>
353 <set var=
"USE_QA">1</set>
354 <set var=
"MONOLITHIC">0</set>
355 <set var=
"USE_GUI">1</set>
356 <set var=
"USE_EXCEPTIONS">1</set>
357 <set var=
"USE_RTTI">1</set>
358 <set var=
"USE_THREADS">1</set>
359 <set var=
"DEBUG_INFO">default
</set>
360 <set var=
"DEBUG_FLAG">default
</set>
361 <set var=
"MSLU">0</set>
366 C++BuilderX supports only wxMSW, monolithic (sic!) static build
367 and the project can't be put into build/msw and store objects in
368 build/msw/something. This *must* be fixed! -->
369 <if cond=
"FORMAT=='cbuilderx'">
370 <set var=
"WXUNIV">0</set>
371 <set var=
"MONOLITHIC">1</set>
372 <set var=
"SRCDIR">.
</set>
373 <set var=
"TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)
</set>
374 <set var=
"SHARED">0</set>
378 <!-- DigitalMars make is braindead, it doesn't have conditional
380 <if cond=
"FORMAT=='dmars'">
381 <set var=
"RUNTIME_LIBS">static
</set>
382 <set var=
"BUILD">debug
</set>
383 <set var=
"SHARED">0</set>
384 <set var=
"WXUNIV">0</set>
385 <set var=
"UNICODE">0</set>
386 <!-- Free version does not distribute OpenGL,
387 in commercial distribution better use dmars_smake format -->
388 <set var=
"USE_OPENGL">0</set>
391 <!-- No need for wxUniv on embedded devices (yet): -->
392 <if cond=
"FORMAT=='msevc4prj'">
393 <set var=
"WXUNIV">0</set>
394 <set var=
"UNICODE">1</set>
395 <!-- Uploading debug reports from PDAs seems impractical -->
396 <set var=
"USE_QA">0</set>
397 <set var=
"MONOLITHIC">1</set> <!-- sic! -->