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