source: trunk/mkspecs/features/symbian/platform_paths.prf

Last change on this file was 846, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

  • Property svn:eol-style set to native
File size: 23.2 KB
Line 
1#
2# ==============================================================================
3# Name : platform_paths.prf
4# Part of :
5# Interface : Platform Path Definitions API for Qt/S60
6# Description : Predefined include paths to be used in the pro-files for the
7# components in the layered model. There is one definition for
8# each layer. The pro-file should use the statement that is
9# intended for the same layer as where the pro-file resides.
10#
11# Usage examples:
12#
13# Note: this file gets automatically added to all Qt/S60 projects
14#
15# Variable usages to add the system include paths
16#
17# The include paths has to be related to the layer in which your SW
18# resides. Thus as an example: a component residing in middleware
19# layer should use the MW specific macro.
20#
21# INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
22# INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
23# INCLUDEPATH += $$OS_LAYER_SYSTEMINCLUDE
24#
25# If there is a need to include public headers of some S60 component,
26# various *_EXPORT_PATH macros can be utilized:
27#
28# INCLUDEPATH += $$OS_LAYER_PUBLIC_EXPORT_PATH(somecomponent)
29#
30# Variables related to using various parts of stdapis:
31#
32# To use STLLIB you need to have this in your pro-file:
33#
34# QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
35# DEFINES *= $$STLLIB_USAGE_DEFINES
36#
37# Depending on what module you are using from stdapis you need to have
38# one or more of the following variables in your pro-file.
39#
40# INCLUDEPATH += $$OS_LAYER_LIBC_SYSTEMINCLUDE
41# INCLUDEPATH += $$OS_LAYER_GLIB_SYSTEMINCLUDE
42# INCLUDEPATH += $$OS_LAYER_SSL_SYSTEMINCLUDE
43# INCLUDEPATH += $$OS_LAYER_STDCPP_SYSTEMINCLUDE
44# INCLUDEPATH += $$OS_LAYER_BOOST_SYSTEMINCLUDE
45# INCLUDEPATH += $$OS_LAYER_DBUS_SYSTEMINCLUDE
46# INCLUDEPATH += $$OS_LAYER_LIBUTILITY_SYSTEMINCLUDE
47#
48# These paths are primarily meant to be used as is in bld.inf and .mmp
49# files, so they do not contain epocroot when using official symbian
50# toolchains (symbian-abld or symbian-sbsv2).
51# For makefile based mkspecs, epocroot is prepended to all paths for
52# convenience.
53#
54# To use paths defined here in other contexts that require epocroot to be
55# prepended always, such as exists checks, please use prependEpocroot
56# replacement function:
57#
58# exists($$prependEpocroot($$MW_LAYER_PUBLIC_EXPORT_PATH(foobar.h)))
59#
60# ==============================================================================
61
62symbian-abld|symbian-sbsv2 {
63 epocroot_prefix = /
64} else {
65 epocroot_prefix = $${EPOCROOT}
66}
67
68symbian-abld|symbian-sbsv2:exists($${EPOCROOT}epoc32/include/platform_paths.prf) {
69
70 # Symbian does not provide correct profiles for non-mmp based systems, so
71 # we only should get in here with abld and sbsv2.
72
73 # Load platform specific paths
74 load($${EPOCROOT}epoc32/include/platform_paths.prf)
75
76} else {
77
78 # No platform specific paths provided, use default paths
79
80 exists($${EPOCROOT}epoc32/include/mw) { # New SF structure
81
82 # ---------------------------------------
83 # Location, where the applications layer specific public headers are exported
84 # ---------------------------------------
85
86 defineReplace(APP_LAYER_SDK_EXPORT_PATH) {
87 return ($${epocroot_prefix}epoc32/include/app/$$1)
88 }
89 defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) {
90 return ($${epocroot_prefix}epoc32/include/app/$$1)
91 }
92
93 # ---------------------------------------
94 # Location, where the applications layer specific platform headers are exported
95 # ---------------------------------------
96
97 defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) {
98 return ($${epocroot_prefix}epoc32/include/platform/app/$$1)
99 }
100 defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) {
101 return ($${epocroot_prefix}epoc32/include/platform/app/$$1)
102 }
103
104 # ---------------------------------------
105 # Location, where the middleware layer specific public headers are exported
106 # ---------------------------------------
107
108 defineReplace(MW_LAYER_SDK_EXPORT_PATH) {
109 return ($${epocroot_prefix}epoc32/include/mw/$$1)
110 }
111 defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) {
112 return ($${epocroot_prefix}epoc32/include/mw/$$1)
113 }
114
115 # ---------------------------------------
116 # Location, where the middleware layer specific platform headers are exported
117 # ---------------------------------------
118
119 defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) {
120 return ($${epocroot_prefix}epoc32/include/platform/mw/$$1)
121 }
122 defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) {
123 return ($${epocroot_prefix}epoc32/include/platform/mw/$$1)
124 }
125
126 # ---------------------------------------
127 # Location, where the os layer specific public headers are exported
128 # ---------------------------------------
129
130 defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) {
131 return ($${epocroot_prefix}epoc32/include/$$1)
132 }
133 # WARNING: If the following path changes see the exists() function around line 219
134 defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) {
135 return ($${epocroot_prefix}epoc32/include/$$1)
136 }
137
138 # ---------------------------------------
139 # Location, where the os specific platform headers are exported
140 # ---------------------------------------
141
142 defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) {
143 return ($${epocroot_prefix}epoc32/include/platform/$$1)
144 }
145 defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) {
146 return ($${epocroot_prefix}epoc32/include/platform/$$1)
147 }
148
149 # ---------------------------------------
150 # General comments about the 3 define statements related to include paths:
151 # 1) the /epoc32/include/oem is now defined there for backward compability.
152 # Once the directory is empty, the directory will be removed. However this
153 # enables us to ensure that if you use these define statements => you do
154 # not have to remove the statements later on, when the directory no longer
155 # exists.
156 # 2) These statements should be enough in normal cases. For certain specific
157 # cases you might need to add some specific directory from /epoc32/include
158 # (for instance /epoc32/include/ecom).
159 # In normal cases the include staments in code should be relative to one of
160 # the system include paths, but in certain cases, the included files requires
161 # that the subdirectory is also part of the system include paths.
162 # ---------------------------------------
163
164 # This variable defines the include paths, which are intended to be
165 # used in the pro-files that are part of the applications-layer. It includes all
166 # the needed directories from the /epoc32/include, that are valid ones for the
167 # application-layer components.
168 #
169 # Applications layer is the last one in the list, since most likely the most of
170 # the headers come from middleware or os-layer => thus they are first.
171
172 APP_LAYER_SYSTEMINCLUDE = \
173 $${epocroot_prefix}epoc32/include \
174 $${epocroot_prefix}epoc32/include/mw \
175 $${epocroot_prefix}epoc32/include/platform/mw \
176 $${epocroot_prefix}epoc32/include/platform \
177 $${epocroot_prefix}epoc32/include/app \
178 $${epocroot_prefix}epoc32/include/platform/app \
179 $${epocroot_prefix}epoc32/include/platform/loc \
180 $${epocroot_prefix}epoc32/include/platform/mw/loc \
181 $${epocroot_prefix}epoc32/include/platform/app/loc \
182 $${epocroot_prefix}epoc32/include/platform/loc/sc \
183 $${epocroot_prefix}epoc32/include/platform/mw/loc/sc \
184 $${epocroot_prefix}epoc32/include/platform/app/loc/sc
185
186 # This define statements defines the include paths, which are intended to be
187 # used in the pro-files that are part of the middleware-layer. It includes all
188 # the needed directories from the /epoc32/include, that are valid ones for the
189 # middleware-layer components.
190
191 MW_LAYER_SYSTEMINCLUDE = \
192 $${epocroot_prefix}epoc32/include \
193 $${epocroot_prefix}epoc32/include/mw \
194 $${epocroot_prefix}epoc32/include/platform/mw \
195 $${epocroot_prefix}epoc32/include/platform \
196 $${epocroot_prefix}epoc32/include/platform/loc \
197 $${epocroot_prefix}epoc32/include/platform/mw/loc \
198 $${epocroot_prefix}epoc32/include/platform/loc/sc \
199 $${epocroot_prefix}epoc32/include/platform/mw/loc/sc
200
201 # This define statements defines the include paths, which are intended to be
202 # used in the pro-files that are part of the osextensions-layer. It includes all
203 # the needed directories from the /epoc32/include, that are valid ones for the
204 # os-layer components.
205
206 OS_LAYER_SYSTEMINCLUDE = \
207 $${epocroot_prefix}epoc32/include \
208 $${epocroot_prefix}epoc32/include/platform \
209 $${epocroot_prefix}epoc32/include/platform/loc \
210 $${epocroot_prefix}epoc32/include/platform/loc/sc
211
212 # This define statements defines the include paths, which are intended to be
213 # used in the pro-files that are part of the os-layer. This is intended
214 # to be only used by those components which need to use in their mmp-file either
215 # kern_ext.mmh or nkern_ext.mmh. Reason is that those
216 # 2 files already contain the /epoc32/include as system include path.
217
218 OS_LAYER_KERNEL_SYSTEMINCLUDE = \
219 $${epocroot_prefix}epoc32/include/platform
220
221
222 # ---------------------------------------
223 # Definitions that also define the systeminclude paths for various
224 # part of stdapis. Append to INCLUDEPATH in pro-file.
225 # ---------------------------------------
226
227 OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \
228 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys)
229
230 OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
231 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
232 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject)
233
234 OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl)
235
236 # stlportv5 is preferred over stlport as it has the throwing version of operator new
237 exists($${EPOCROOT}epoc32/include/stdapis/stlport) \
238 :!exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) {
239 OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport)
240 } else {
241 OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5)
242 }
243
244 OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost)
245
246 OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
247 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus)
248
249 OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility)
250
251 } else { # Old pre-SF structure
252
253 # ---------------------------------------
254 # Location, where the applications layer specific public headers are exported
255 # ---------------------------------------
256
257 defineReplace(APP_LAYER_SDK_EXPORT_PATH) {
258 return ($${epocroot_prefix}epoc32/include/applications/$$1)
259 }
260 defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) {
261 return ($${epocroot_prefix}epoc32/include/applications/$$1)
262 }
263
264 # ---------------------------------------
265 # Location, where the applications layer specific platform headers are exported
266 # ---------------------------------------
267
268 defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) {
269 return ($${epocroot_prefix}epoc32/include/domain/applications/$$1)
270 }
271 defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) {
272 return ($${epocroot_prefix}epoc32/include/domain/applications/$$1)
273 }
274
275 # ---------------------------------------
276 # Location, where the middleware layer specific public headers are exported
277 # ---------------------------------------
278
279 defineReplace(MW_LAYER_SDK_EXPORT_PATH) {
280 return ($${epocroot_prefix}epoc32/include/middleware/$$1)
281 }
282 defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) {
283 return ($${epocroot_prefix}epoc32/include/middleware/$$1)
284 }
285
286 # ---------------------------------------
287 # Location, where the middleware layer specific platform headers are exported
288 # ---------------------------------------
289
290 defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) {
291 return ($${epocroot_prefix}epoc32/include/domain/middleware/$$1)
292 }
293 defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) {
294 return ($${epocroot_prefix}epoc32/include/domain/middleware/$$1)
295 }
296
297 # ---------------------------------------
298 # Location, where the os layer specific public headers are exported
299 # ---------------------------------------
300
301 defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) {
302 return ($${epocroot_prefix}epoc32/include/osextensions/$$1)
303 }
304 # WARNING: If the following path changes see the exists() function around line 430
305 defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) {
306 return ($${epocroot_prefix}epoc32/include/osextensions/$$1)
307 }
308
309 # ---------------------------------------
310 # Location, where the os specific platform headers are exported
311 # ---------------------------------------
312
313 defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) {
314 return ($${epocroot_prefix}epoc32/include/domain/osextensions/$$1)
315 }
316 defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) {
317 return ($${epocroot_prefix}epoc32/include/domain/osextensions/$$1)
318 }
319
320 # ---------------------------------------
321 # General comments about the 3 define statements related to include paths:
322 # 1) the /epoc32/include/oem is now defined there for backward compability.
323 # Once the directory is empty, the directory will be removed. However this
324 # enables us to ensure that if you use these define statements => you do
325 # not have to remove the statements later on, when the directory no longer
326 # exists.
327 # 2) These statements should be enough in normal cases. For certain specific
328 # cases you might need to add some specific directory from /epoc32/include
329 # (for instance /epoc32/include/ecom).
330 # In normal cases the include staments in code should be relative to one of
331 # the system include paths, but in certain cases, the included files requires
332 # that the subdirectory is also part of the system include paths.
333 # ---------------------------------------
334
335 # This variable defines the include paths, which are intended to be
336 # used in the pro-files that are part of the applications-layer. It includes all
337 # the needed directories from the /epoc32/include, that are valid ones for the
338 # application-layer components.
339 #
340 # Applications layer is the last one in the list, since most likely the most of
341 # the headers come from middleware or os-layer => thus they are first.
342
343 APP_LAYER_SYSTEMINCLUDE = \
344 $${epocroot_prefix}epoc32/include \
345 $${epocroot_prefix}epoc32/include/oem \
346 $${epocroot_prefix}epoc32/include/middleware \
347 $${epocroot_prefix}epoc32/include/domain/middleware \
348 $${epocroot_prefix}epoc32/include/osextensions \
349 $${epocroot_prefix}epoc32/include/domain/osextensions \
350 $${epocroot_prefix}epoc32/include/applications \
351 $${epocroot_prefix}epoc32/include/domain/applications \
352 $${epocroot_prefix}epoc32/include/domain/osextensions/loc \
353 $${epocroot_prefix}epoc32/include/domain/middleware/loc \
354 $${epocroot_prefix}epoc32/include/domain/applications/loc \
355 $${epocroot_prefix}epoc32/include/domain/osextensions/loc/sc \
356 $${epocroot_prefix}epoc32/include/domain/middleware/loc/sc \
357 $${epocroot_prefix}epoc32/include/domain/applications/loc/sc
358
359 # This define statements defines the include paths, which are intended to be
360 # used in the pro-files that are part of the middleware-layer. It includes all
361 # the needed directories from the /epoc32/include, that are valid ones for the
362 # middleware-layer components.
363
364 MW_LAYER_SYSTEMINCLUDE = \
365 $${epocroot_prefix}epoc32/include \
366 $${epocroot_prefix}epoc32/include/oem \
367 $${epocroot_prefix}epoc32/include/middleware \
368 $${epocroot_prefix}epoc32/include/domain/middleware \
369 $${epocroot_prefix}epoc32/include/osextensions \
370 $${epocroot_prefix}epoc32/include/domain/osextensions \
371 $${epocroot_prefix}epoc32/include/domain/osextensions/loc \
372 $${epocroot_prefix}epoc32/include/domain/middleware/loc \
373 $${epocroot_prefix}epoc32/include/domain/osextensions/loc/sc \
374 $${epocroot_prefix}epoc32/include/domain/middleware/loc/sc
375
376 # This define statements defines the include paths, which are intended to be
377 # used in the pro-files that are part of the osextensions-layer. It includes all
378 # the needed directories from the /epoc32/include, that are valid ones for the
379 # os-layer components.
380
381 OS_LAYER_SYSTEMINCLUDE = \
382 $${epocroot_prefix}epoc32/include \
383 $${epocroot_prefix}epoc32/include/oem \
384 $${epocroot_prefix}epoc32/include/osextensions \
385 $${epocroot_prefix}epoc32/include/domain/osextensions \
386 $${epocroot_prefix}epoc32/include/domain/osextensions/loc \
387 $${epocroot_prefix}epoc32/include/domain/osextensions/loc/sc
388
389 # This define statements defines the include paths, which are intended to be
390 # used in the pro-files that are part of the os-layer. This is intended
391 # to be only used by those components which need to use in their mmp-file either
392 # kern_ext.mmh or nkern_ext.mmh. Reason is that those
393 # 2 files already contain the /epoc32/include as system include path.
394
395 OS_LAYER_KERNEL_SYSTEMINCLUDE = \
396 $${epocroot_prefix}epoc32/include/oem \
397 $${epocroot_prefix}epoc32/include/osextensions \
398 $${epocroot_prefix}epoc32/include/domain/osextensions
399
400
401 # ---------------------------------------
402 # Definitions that also define the systeminclude paths for various
403 # part of stdapis. Append to INCLUDEPATH in pro-file.
404 # ---------------------------------------
405
406 OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \
407 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys) \
408 $${epocroot_prefix}epoc32/include/stdapis \
409 $${epocroot_prefix}epoc32/include/stdapis/sys
410
411 OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
412 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
413 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject) \
414 $${epocroot_prefix}epoc32/include/stdapis/glib-2.0 \
415 $${epocroot_prefix}epoc32/include/stdapis/glib-2.0/glib \
416 $${epocroot_prefix}epoc32/include/stdapis/glib-2.0/gObject
417
418 OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl) \
419 $${epocroot_prefix}epoc32/include/stdapis/openssl
420
421 # stlportv5 is preferred over stlport as it has the throwing version of operator new
422 OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5) \
423 $${epocroot_prefix}epoc32/include/stdapis/stlportv5
424 exists($${EPOCROOT}epoc32/include/osextensions/stdapis/stlport) \
425 |exists($${EPOCROOT}epoc32/include/stdapis/stlport) {
426 !exists($${EPOCROOT}epoc32/include/osextensions/stdapis/stlportv5) \
427 :!exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) {
428 OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport) \
429 $${epocroot_prefix}epoc32/include/stdapis/stlport
430 }
431 }
432
433 OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost) \
434 $${epocroot_prefix}epoc32/include/stdapis/boost
435
436 OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
437 $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus) \
438 $${epocroot_prefix}epoc32/include/stdapis/dbus-1.0 \
439 $${epocroot_prefix}epoc32/include/stdapis/dbus-1.0/dbus
440
441 OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility) \
442 $${epocroot_prefix}epoc32/include/stdapis/utility
443
444 }
445
446 # Definitions common to both structures
447
448 # ---------------------------------------
449 # Definitions to export IBY files to different folders where they will be taken
450 # to ROM image
451 # ---------------------------------------
452
453 defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
454 return($${epocroot_prefix}epoc32/rom/include/core/app/$$1)
455 }
456 defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
457 return($${epocroot_prefix}epoc32/rom/include/core/mw/$$1)
458 }
459
460 defineReplace(LANGUAGE_APP_LAYER_IBY_EXPORT_PATH) {
461 return($${epocroot_prefix}epoc32/rom/include/language/app/$$1)
462 }
463 defineReplace(LANGUAGE_MW_LAYER_IBY_EXPORT_PATH) {
464 return($${epocroot_prefix}epoc32/rom/include/language/mw/$$1)
465 }
466
467 defineReplace(CUSTOMER_APP_LAYER_IBY_EXPORT_PATH) {
468 return($${epocroot_prefix}epoc32/rom/include/customer/app/$$1)
469 }
470 defineReplace(CUSTOMER_MW_LAYER_IBY_EXPORT_PATH) {
471 return($${epocroot_prefix}epoc32/rom/include/customer/mw/$$1)
472 }
473
474 defineReplace(CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH) {
475 return($${epocroot_prefix}epoc32/rom/include/customervariant/app/$$1)
476 }
477 defineReplace(CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH) {
478 return($${epocroot_prefix}epoc32/rom/include/customervariant/mw/$$1)
479 }
480
481 # You need to define the following in pro-file, if you are using the stllib:
482 # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
483 # DEFINES *= $$STLLIB_USAGE_DEFINES
484 STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
485 STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
486
487 # Smart prepend of EPOCROOT to a string
488 defineReplace(prependEpocroot) {
489 contains(1, ^$${EPOCROOT}) {
490 return($$1)
491 } else {
492 return($${EPOCROOT}$$replace(1,"^/",))
493 }
494 }
495
496}
Note: See TracBrowser for help on using the repository browser.