]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/config.bkl
Fixed capitalisation
[wxWidgets.git] / build / bakefiles / config.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
ddf98968
VS
2
3<makefile>
61639efb 4
cc8953a6 5 <set var="IS_MSVC_PRJ">
7da8bfe3 6 $(FORMAT in ['msvc6prj','msevc4prj','msvs2003prj','msvs2005prj','msvs2008prj'])
cc8953a6 7 </set>
0c4311ca
VZ
8 <set var="IS_MSVC">
9 $(IS_MSVC_PRJ=='1' or FORMAT=='msvc')
10 </set>
11
cc8953a6 12
498368e9
VS
13 <set var="BUILDING_LIB" overwrite="0">0</set>
14
c8d58531
MW
15 <set var="CPP_DEFAULT_VALUE">
16 <if cond="FORMAT=='borland'">
17 cpp32 -Sr -oCON
18 </if>
19 <if cond="FORMAT=='mingw'">
20 $(DOLLAR)(CC) -E
21 </if>
22 <if cond="FORMAT=='msvc'">
23 $(DOLLAR)(CC) /EP /nologo
24 </if>
25 <if cond="FORMAT=='watcom'">
26 $(DOLLAR)(CC) -p
27 </if>
28 </set>
29 <option name="CPP">
30 <default-value>
31 $(CPP_DEFAULT_VALUE)
32 </default-value>
33 <description>
34 The C preprocessor
35 </description>
36 </option>
37
6990514b
VS
38 <option name="SHARED">
39 <values>0,1</values>
40 <values-description>,DLL</values-description>
252b53f5 41 <default-value>0</default-value>
6990514b
VS
42 <description>
43 What type of library to build?
44 </description>
45 </option>
61639efb 46
d48f13a1
VZ
47 <if cond="FORMAT!='autoconf'">
48 <option name="TOOLKIT">
49 <values>MSW,GTK</values>
50 <values-description>,GTK+</values-description>
51 <default-value>MSW</default-value>
52 <description>
53 Used toolkit
54 </description>
55 </option>
56
57 <if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','msvs2003prj','msvs2005prj','msvs2008prj']">
58 <option name="TOOLKIT_VERSION">
59 <values>,2</values>
60 <values-description>,2</values-description>
61 <default-value></default-value>
62 <description>
63 GTK+ toolkit version
64 </description>
65 </option>
66 </if>
67
5b608795 68 <!-- We must make TOOLKIT a constant under Windows -->
f9019419 69 <if cond="FORMAT in ['borland','mingw','msvc','watcom', 'msvc6prj', 'msvs2003prj', 'msvs2005prj', 'msvs2008prj']">
d48f13a1
VZ
70 <set var="TOOLKIT">MSW</set>
71 </if>
72 </if>
73
22a3b6e4
VZ
74 <!--
75 Don't include wxUniversal configurations in project files, they
76 confuse people who don't know what "Universal" means and double the
77 number of configurations. If you do need to build wxUniversal, either
78 use the make files or comment out the 3 lines below and rerun
79 bakefile_gen to regenerate the projects with them.
80 -->
81 <if cond="IS_MSVC_PRJ=='1'">
82 <set var="WXUNIV">0</set>
83 </if>
84 <if cond="IS_MSVC_PRJ=='0'">
85 <option name="WXUNIV">
86 <values>0,1</values>
87 <values-description>,Universal</values-description>
88 <default-value>0</default-value>
89 <description>
90 Build wxUniversal instead of native port?
91 </description>
92 </option>
93 </if>
6990514b 94
24dfe917
VS
95 <!-- don't include ANSI configuration in project files, it's going to be
96 eventually removed anyway and it only doubles the number of build
97 configs in projects: -->
98 <if cond="IS_MSVC_PRJ=='1'">
99 <set var="UNICODE">1</set>
100 </if>
101 <if cond="IS_MSVC_PRJ=='0'">
102 <option name="UNICODE">
103 <values>0,1</values>
104 <values-description>,Unicode</values-description>
105 <default-value>1</default-value>
106 <description>
107 Compile Unicode build of wxWidgets?
108 </description>
109 </option>
110 </if>
6990514b 111
416f5bc8
VS
112 <if cond="FORMAT!='autoconf' and FORMAT!='watcom'">
113 <option name="MSLU">
114 <values>0,1</values>
61639efb 115 <default-value>0</default-value>
416f5bc8
VS
116 <description>
117 Use MSLU library when building Unicode version.
118 </description>
119 </option>
120 </if>
121 <if cond="FORMAT=='autoconf' or FORMAT=='watcom'">
122 <set var="MSLU">0</set>
123 </if>
124
4f6e1dac 125 <option name="BUILD">
6990514b
VS
126 <values>debug,release</values>
127 <values-description>Debug,Release</values-description>
252b53f5 128 <default-value>debug</default-value>
4f6e1dac
VS
129 <description>
130 Type of compiled binaries
131 </description>
132 </option>
1dba7b4c 133
e40b74ba
MW
134 <if cond="FORMAT=='msvc'">
135 <option name="TARGET_CPU">
e40b74ba
MW
136 <default-value>$(DOLLAR)(CPU)</default-value>
137 <description>
138The target processor architecture must be specified when it is not X86.
139This does not affect the compiler output, so you still need to make sure
140your environment is set up appropriately with the correct compiler in the
141PATH. Rather it affects some options passed to some of the common build
142utilities such as the resource compiler and the linker.
b1e411d9 143
235a997f
VZ
144Accepted values: IA64, X64
145(AMD64 accepted as synonym for X64 but should not be used any more).
e40b74ba
MW
146 </description>
147 </option>
148 </if>
149 <if cond="FORMAT!='msvc'">
150 <set var="TARGET_CPU"/>
151 </if>
152
0c4311ca
VZ
153 <!--
154 For MSVC enable debug information in all builds: it is needed to be
155 able to debug the crash dumps produced by wxDebugReport and as it
156 generates it in separate PDB files it doesn't cost us much to enable it
157 (except for disk space...).
158 -->
9d33d6b8 159 <set var="DEBUG_INFO_DEFAULT">
0c4311ca
VZ
160 <if cond="IS_MSVC=='1'">1</if>
161 <if cond="IS_MSVC=='0'">default</if>
9d33d6b8 162 </set>
61639efb 163
4f6e1dac 164 <option name="DEBUG_INFO">
6990514b 165 <values>0,1,default</values>
9d33d6b8 166 <default-value>$(DEBUG_INFO_DEFAULT)</default-value>
4f6e1dac
VS
167 <description>
168Should debugging info be included in the executables? The default value
169"default" means that debug info will be included if BUILD=debug
170and not included if BUILD=release.
171 </description>
172 </option>
61639efb 173
4f6e1dac 174 <option name="DEBUG_FLAG">
6990514b 175 <values>0,1,default</values>
c6684d42 176 <default-value>1</default-value>
4f6e1dac 177 <description>
c6684d42
VZ
178Value of wxDEBUG_LEVEL. The default value is the same as 1 and means that all
179but expensive assert checks are enabled, use 0 to completely remove debugging
180code.
4f6e1dac
VS
181 </description>
182 </option>
183
184 <if cond="FORMAT=='msvc'">
185 <option name="DEBUG_RUNTIME_LIBS">
6990514b 186 <values>0,1,default</values>
4f6e1dac
VS
187 <default-value>default</default-value>
188 <description>
c6684d42
VZ
189Link against debug (e.g. msvcrtd.dll) or release (msvcrt.dll) RTL?
190Default is to use debug CRT if and only if BUILD==debug.
4f6e1dac
VS
191 </description>
192 </option>
193 </if>
194 <if cond="FORMAT!='msvc'">
195 <set var="DEBUG_RUNTIME_LIBS">default</set>
196 </if>
8998a324
VS
197
198 <set var="MONOLITHIC_DEFAULT">
199 <if cond="FORMAT=='watcom'">1</if>
200 <if cond="FORMAT!='watcom'">0</if>
201 </set>
ddf98968 202 <option name="MONOLITHIC">
6990514b
VS
203 <values>0,1</values>
204 <values-description>Multilib,Monolithic</values-description>
8998a324 205 <default-value>$(MONOLITHIC_DEFAULT)</default-value>
ddf98968
VS
206 <description>
207 Multiple libraries or single huge monolithic one?
208 </description>
209 </option>
61639efb 210
c79241a2
VS
211 <if cond="FORMAT=='autoconf'"> <!-- FIXME - temporary -->
212 <option name="USE_PLUGINS">
213 <values>0,1</values>
214 <default-value>1</default-value>
215 <description>
216 Build parts of the library as dynamically loadable plugins
217 (only supported in multilib build)?
218 </description>
219 </option>
220 </if>
221 <if cond="FORMAT!='autoconf'">
222 <set var="USE_PLUGINS">0</set> <!-- FIXME - temporary -->
223 </if>
61639efb 224
ddf98968 225 <option name="USE_GUI">
6990514b
VS
226 <values>0,1</values>
227 <values-description>Base,GUI</values-description>
ddf98968
VS
228 <default-value>1</default-value>
229 <description>
230 Build GUI libraries?
231 </description>
232 </option>
61639efb 233
4d264332 234 <option name="USE_HTML">
6990514b 235 <values>0,1</values>
4d264332
VS
236 <default-value>1</default-value>
237 <description>
238 Build wxHTML library (USE_GUI must be 1)?
239 </description>
240 </option>
61639efb 241
467d261e 242 <option name="USE_WEBVIEW">
cfcf1d6e
SL
243 <values>0,1</values>
244 <default-value>1</default-value>
245 <description>
467d261e 246 Build wxWebView library (USE_GUI must be 1)?
cfcf1d6e
SL
247 </description>
248 </option>
d48f13a1 249
557002cf
VZ
250 <option name="USE_MEDIA">
251 <values>0,1</values>
252 <default-value>1</default-value>
253 <description>
254 Build multimedia library (USE_GUI must be 1)?
255 </description>
256 </option>
257
3849327b
VS
258 <option name="USE_XRC">
259 <values>0,1</values>
260 <default-value>1</default-value>
261 <description>
262 Build wxXRC library (USE_GUI must be 1)?
263 </description>
264 </option>
61639efb 265
50acee04
JS
266 <option name="USE_AUI">
267 <values>0,1</values>
268 <default-value>1</default-value>
269 <description>
270 Build wxAUI library (USE_GUI must be 1)?
271 </description>
272 </option>
273
3c3ead1d
PC
274 <option name="USE_RIBBON">
275 <values>0,1</values>
276 <default-value>1</default-value>
277 <description>
278 Build wxRibbon library (USE_GUI must be 1)?
279 </description>
280 </option>
281
1c4293cb
VZ
282 <option name="USE_PROPGRID">
283 <values>0,1</values>
284 <default-value>1</default-value>
285 <description>
286 Build wxPropertyGrid library (USE_GUI must be 1)?
287 </description>
288 </option>
289
3b2cb431
JS
290 <option name="USE_RICHTEXT">
291 <values>0,1</values>
292 <default-value>1</default-value>
293 <description>
294 Build wxRichTextCtrl library (USE_GUI must be 1)?
295 </description>
296 </option>
297
54429bb3
RD
298 <option name="USE_STC">
299 <values>0,1</values>
300 <default-value>1</default-value>
301 <description>
302 Build wxStyledTextCtrl library (USE_GUI must be 1)?
303 </description>
304 </option>
305
4d264332 306 <option name="USE_OPENGL">
6990514b 307 <values>0,1</values>
671683c4 308 <default-value>1</default-value>
4d264332
VS
309 <description>
310 Build OpenGL canvas library (USE_GUI must be 1)?
311 </description>
312 </option>
61639efb 313
aae7e12e
VZ
314 <!-- currently only VC++ can compile wxDebugReport which is in QA lib -->
315 <set var="USE_QA_DEFAULT">
7da8bfe3
VZ
316 <if cond="FORMAT in ['msvc','msvc6prj','msvs2003prj','msvs2005prj','msvs2008prj']">1</if>
317 <if cond="FORMAT not in ['msvc','msvc6prj','msvs2003prj','msvs2005prj','msvs2008prj']">0</if>
aae7e12e 318 </set>
61639efb
VZ
319 <option name="USE_QA">
320 <values>0,1</values>
b1ac62dd 321 <default-value>$(USE_QA_DEFAULT)</default-value>
61639efb
VZ
322 <description>
323 Build quality assurance classes library (USE_GUI must be 1)?
324 </description>
325 </option>
326
9833a21a
VS
327 <option name="USE_EXCEPTIONS">
328 <values>0,1</values>
329 <default-value>1</default-value>
330 <description>
331 Enable exceptions in compiled code.
332 </description>
333 </option>
61639efb 334
c2efd890
VZ
335 <option name="USE_RTTI">
336 <values>0,1</values>
337 <default-value>1</default-value>
338 <description>
339 Enable run-time type information (RTTI) in compiled code.
340 </description>
341 </option>
61639efb 342
d1e5aa07
VS
343 <option name="USE_THREADS">
344 <values>0,1</values>
345 <default-value>1</default-value>
346 <description>
347 Enable threading in compiled code.
348 </description>
349 </option>
61639efb 350
f82b7036
KO
351 <option name="USE_CAIRO">
352 <values>0,1</values>
353 <default-value>0</default-value>
354 <description>
355 Enable wxCairoContext for platforms other than Linux/GTK.
356 </description>
357 </option>
358
4fc5f509 359 <option name="OFFICIAL_BUILD">
6990514b 360 <values>0,1</values>
4fc5f509
VS
361 <default-value>0</default-value>
362 <description>
77ffb593 363 Is this official build by wxWidgets developers?
4fc5f509
VS
364 </description>
365 </option>
366 <option name="VENDOR">
367 <default-value>custom</default-value>
368 <description>
369 Use this to name your customized DLLs differently
370 </description>
371 </option>
589e20d0
RL
372 <!-- These basically do what vendor does in the places it didn't. -->
373 <!-- They should all be unified under some suitable descriptor -->
374 <option name="WX_FLAVOUR">
375 <default-value></default-value>
376 </option>
377 <option name="WX_LIB_FLAVOUR">
378 <default-value></default-value>
379 </option>
cff5df9f
VS
380
381 <option name="CFG">
382 <default-value></default-value>
383 <description>
4f6e1dac
VS
384Name of your custom configuration. This affects directory
385where object files are stored as well as the location of
386compiled .lib files and setup.h under the lib/ toplevel directory.
cff5df9f 387 </description>
670ec357
VS
388 </option>
389
390 <!-- unit tests support: -->
391 <option name="CPPUNIT_CFLAGS">
392 <default-value></default-value>
393 <description>
394Compiler flags needed to compile test suite in tests directory. If you want
395to run the tests, set it so that the compiler can find CppUnit headers.
396 </description>
397 </option>
61639efb 398
670ec357
VS
399 <option name="CPPUNIT_LIBS">
400 <default-value></default-value>
401 <description>
402Linker flags needed to link test suite in tests directory. If you want
403to run the tests, include CppUnit library here.
404 </description>
cff5df9f 405 </option>
61639efb
VZ
406
407
eefdc53a
VS
408 <!-- ================================================================== -->
409 <!-- Autoconf -->
410 <!-- ================================================================== -->
61639efb
VZ
411
412 <if cond="FORMAT=='autoconf'">
ddf98968
VS
413 <option name="DEREZ"/>
414 <option name="TOOLKIT"/>
415 <option name="TOOLKIT_LOWERCASE"/>
416 <option name="TOOLKIT_VERSION"/>
157a3440 417 <option name="TOOLCHAIN_NAME"/>
ceec2216 418 <option name="TOOLCHAIN_FULLNAME"/>
ddf98968 419 <option name="EXTRALIBS"/>
a69544bf 420 <option name="EXTRALIBS_XML"/>
c839485c 421 <option name="EXTRALIBS_HTML"/>
2f8711ed 422 <option name="EXTRALIBS_MEDIA"/>
c74dc163 423 <option name="EXTRALIBS_GUI"/>
34b08d2c 424 <option name="EXTRALIBS_OPENGL"/>
c79241a2 425 <option name="EXTRALIBS_SDL"/>
b1b592ad 426 <option name="CXXWARNINGS"/>
ea66c762 427 <option name="HOST_SUFFIX"/>
19beefa6
KO
428 <option name="DYLIB_RPATH_INSTALL"/>
429 <option name="DYLIB_RPATH_POSTLINK"/>
ef0add05 430 <option name="SAMPLES_RPATH_FLAG"/>
61639efb 431
516cf181
FM
432 <!-- see configure.in; it's required by some samples on Mac OS X -->
433 <option name="HEADER_PAD_OPTION"/>
434
4843dc4c 435 <set var="TOP_SRCDIR">$(top_srcdir)/</set>
4b44ea2b 436 <set var="RUNTIME_LIBS">dynamic</set>
4c51a665 437 <set var="WXTOPDIR"/> <!-- to be overridden on bakefile cmd line -->
61639efb 438
c79241a2
VS
439 <option name="WITH_PLUGIN_SDL">
440 <values>0,1</values>
441 </option>
6589dc98
VS
442
443 <option name="wx_top_builddir"/>
ddf98968
VS
444 </if>
445
61639efb 446
eefdc53a 447 <!-- ================================================================== -->
1dba7b4c 448 <!-- windows/dos/os2 compilers -->
eefdc53a
VS
449 <!-- ================================================================== -->
450
ddf98968 451 <if cond="FORMAT!='autoconf'">
4b44ea2b 452 <option name="RUNTIME_LIBS">
6990514b 453 <values>dynamic,static</values>
4b44ea2b
VS
454 <default-value>dynamic</default-value>
455 <description>
4f6e1dac
VS
456Version of C runtime library to use. You can change this to
457static if SHARED=0, but it is highly recommended to not do
458it if SHARED=1 unless you know what you are doing.
4b44ea2b
VS
459 </description>
460 </option>
61639efb 461
4c51a665 462 <set var="WXTOPDIR"/> <!-- to be overridden on bakefile cmd line -->
4843dc4c 463
d48f13a1
VZ
464 <set var="WIN32_TOOLKIT">
465 <if cond="TOOLKIT=='MSW'">MSW</if>
466 <if cond="TOOLKIT=='GTK'">GTK</if>
467 </set>
468 <set var="WIN32_TOOLKIT_LOWERCASE">
469 <if cond="TOOLKIT=='MSW'">msw</if>
470 <if cond="TOOLKIT=='GTK'">gtk</if>
471 </set>
472
a92d711e 473 <set var="TOOLKIT" overwrite="0">
af594eca 474 <if cond="FORMAT=='msevc4prj'">WINCE</if>
00b20999 475 <if cond="FORMAT=='msvs2005prj' and MSVS_PLATFORMS=='pocketpc2003'">WINCE</if>
7da8bfe3 476 <if cond="FORMAT=='msvs2008prj' and MSVS_PLATFORMS=='pocketpc2003'">WINCE</if>
d48f13a1
VZ
477 <if cond="FORMAT=='msvs2005prj' and MSVS_PLATFORMS=='win32'">$(WIN32_TOOLKIT)</if>
478 <if cond="FORMAT=='msvs2008prj' and MSVS_PLATFORMS=='win32'">$(WIN32_TOOLKIT)</if>
479 <if cond="FORMAT not in ['msevc4prj','msvs2005prj','msvs2008prj'] and PLATFORM_WIN32=='1'">$(WIN32_TOOLKIT)</if>
1dba7b4c 480 <if cond="PLATFORM_OS2=='1'">PM</if>
af594eca 481 </set>
d48f13a1
VZ
482 <set var="TOOLKIT_LOWERCASE">
483 <if cond="FORMAT=='msevc4prj'">wince</if>
484 <if cond="FORMAT=='msvs2005prj' and MSVS_PLATFORMS=='pocketpc2003'">wince</if>
485 <if cond="FORMAT=='msvs2008prj' and MSVS_PLATFORMS=='pocketpc2003'">wince</if>
486 <if cond="FORMAT=='msvs2005prj' and MSVS_PLATFORMS=='win32'">$(WIN32_TOOLKIT_LOWERCASE)</if>
487 <if cond="FORMAT=='msvs2008prj' and MSVS_PLATFORMS=='win32'">$(WIN32_TOOLKIT_LOWERCASE)</if>
488 <if cond="FORMAT not in ['msevc4prj','msvs2005prj','msvs2008prj'] and PLATFORM_WIN32=='1'">$(WIN32_TOOLKIT_LOWERCASE)</if>
489 <if cond="PLATFORM_OS2=='1'">pm</if>
490 </set>
491 <if cond="FORMAT in ['msvc6prj','msvs2003prj','msvs2005prj','msvs2008prj']">
492 <set var="TOOLKIT_VERSION">
493 <if cond="PLATFORM_WIN32=='1' and TOOLKIT=='GTK'">2</if>
494 </set>
495 </if>
ea66c762 496 <set var="HOST_SUFFIX"/>
22cef566 497 <set var="EXTRACFLAGS"/>
6f53cd7c 498 <set var="EXTRALIBS"/>
a69544bf 499 <set var="EXTRALIBS_XML"/>
c839485c 500 <set var="EXTRALIBS_HTML"/>
2f8711ed 501 <set var="EXTRALIBS_MEDIA"/>
c74dc163 502 <set var="EXTRALIBS_GUI"/>
22cef566 503 <set var="EXTRALIBS_OPENGL">
43b0b6bc 504 <if cond="COMPILER=='wat' and TOOLKIT=='MSW'">opengl32.lib glu32.lib</if>
af594eca 505 <if cond="COMPILER in ['vc','evc']">opengl32.lib glu32.lib</if>
22cef566
VS
506 <if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
507 </set>
c79241a2 508 <set var="EXTRALIBS_SDL"/>
7fcba069 509 <set var="EXTRALIBS_GNOMEPRINT"/>
c79241a2
VS
510
511 <set var="WITH_PLUGIN_SDL">0</set>
eefdc53a 512
2275c732
VS
513 <if cond="BUILDING_LIB=='1'">
514 <set-srcdir>../..</set-srcdir>
515 </if>
4843dc4c 516 <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
ddf98968 517 </if>
61639efb 518
65fb1c11
VS
519 <if cond="FORMAT=='mingw'">
520 <option name="GCC_VERSION">
6990514b 521 <values>3,2.95</values>
65fb1c11
VS
522 <default-value>3</default-value>
523 <description>
4f6e1dac
VS
524Set the version of your Mingw installation here.
525 "3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
526 "2.95" ... for Mingw 1.1 or any of the older versions
65fb1c11
VS
527 </description>
528 </option>
529 <set var="GCCFLAGS">
530 <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
531 </set>
532 <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
533 </if>
d17bdeab 534
328f5196 535
d17bdeab
VS
536 <!-- ================================================================== -->
537 <!-- Project files - hardcode some defaults -->
538 <!-- ================================================================== -->
539
540 <if cond="FORMAT_SUPPORTS_CONDITIONS=='0'">
541 <set var="RUNTIME_LIBS">dynamic</set>
542 <set var="OFFICIAL_BUILD">0</set>
32a52290 543 <set var="USE_AUI">1</set>
3c3ead1d 544 <set var="USE_RIBBON">1</set>
1c4293cb 545 <set var="USE_PROPGRID">1</set>
3b2cb431 546 <set var="USE_RICHTEXT">1</set>
54429bb3 547 <set var="USE_STC">1</set>
d17bdeab 548 <set var="USE_HTML">1</set>
467d261e 549 <set var="USE_WEBVIEW">1</set>
32a52290 550 <set var="USE_MEDIA">1</set>
3849327b 551 <set var="USE_XRC">1</set>
d17bdeab 552 <set var="USE_OPENGL">1</set>
61639efb 553 <set var="USE_QA">1</set>
d17bdeab
VS
554 <set var="MONOLITHIC">0</set>
555 <set var="USE_GUI">1</set>
9833a21a 556 <set var="USE_EXCEPTIONS">1</set>
c2efd890 557 <set var="USE_RTTI">1</set>
d1e5aa07 558 <set var="USE_THREADS">1</set>
f82b7036 559 <set var="USE_CAIRO">0</set>
9d33d6b8 560 <set var="DEBUG_INFO">$(DEBUG_INFO_DEFAULT)</set>
d17bdeab
VS
561 <set var="DEBUG_FLAG">default</set>
562 <set var="MSLU">0</set>
563 </if>
564
e6e885fd
VS
565
566 <!-- DigitalMars make is braindead, it doesn't have conditional
567 processing: -->
568 <if cond="FORMAT=='dmars'">
569 <set var="RUNTIME_LIBS">static</set>
570 <set var="BUILD">debug</set>
571 <set var="SHARED">0</set>
572 <set var="WXUNIV">0</set>
4fc1c0f0 573 <set var="UNICODE">1</set>
f46a065c
WS
574 <!-- Free version does not distribute OpenGL,
575 in commercial distribution better use dmars_smake format -->
576 <set var="USE_OPENGL">0</set>
e6e885fd
VS
577 </if>
578
af594eca 579 <!-- No need for wxUniv on embedded devices (yet): -->
7da8bfe3 580 <if cond="FORMAT=='msevc4prj' or (FORMAT=='msvs2005prj' and MSVS_PLATFORMS=='pocketpc2003') or (FORMAT=='msvs2008prj' and MSVS_PLATFORMS=='pocketpc2003')">
af594eca 581 <set var="WXUNIV">0</set>
1dba7b4c 582 <!-- Uploading debug reports from PDAs seems impractical -->
61639efb 583 <set var="USE_QA">0</set>
bc858dcf 584 <set var="MONOLITHIC">1</set> <!-- sic! -->
00b20999 585 <set var="USE_OPENGL">0</set> <!-- need OpenGL ES support first -->
5bcb84f8 586 <!-- RTTI and exceptions need separate cccrtti.lib with eVC4 -->
00b20999
VZ
587 <if cond="FORMAT=='msevc4prj'">
588 <set var="USE_RTTI">0</set>
589 <set var="USE_EXCEPTIONS">0</set>
590 </if>
af594eca
VS
591 </if>
592
ddf98968 593</makefile>