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