author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Wed, 21 Apr 2010 20:15:53 +0300 | |
branch | RCL_3 |
changeset 13 | c0432d11811c |
parent 7 | 3f74d0d4af4c |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# qmake configuration for symbian-* |
|
3 |
# |
|
4 |
||
5 |
TEMPLATE = app |
|
6 |
CONFIG += qt warn_on release incremental |
|
7 |
QT += core gui |
|
8 |
QMAKE_INCREMENTAL_STYLE = sublib |
|
9 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
10 |
DEFINES += UNICODE QT_KEYPAD_NAVIGATION QT_SOFTKEYS_ENABLED QT_USE_MATH_H_FLOATS |
0 | 11 |
QMAKE_COMPILER_DEFINES += SYMBIAN |
12 |
||
13 |
QMAKE_EXT_OBJ = .o |
|
14 |
QMAKE_EXT_RES = _res.o |
|
15 |
||
16 |
QMAKE_CC = gcc |
|
17 |
QMAKE_LEX = flex |
|
18 |
QMAKE_LEXFLAGS = |
|
19 |
QMAKE_YACC = byacc |
|
20 |
QMAKE_YACCFLAGS = -d |
|
21 |
QMAKE_CFLAGS = |
|
22 |
QMAKE_CFLAGS_DEPS = |
|
23 |
QMAKE_CFLAGS_WARN_ON = |
|
24 |
QMAKE_CFLAGS_WARN_OFF = |
|
25 |
QMAKE_CFLAGS_RELEASE = |
|
26 |
QMAKE_CFLAGS_DEBUG = |
|
27 |
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses |
|
28 |
||
13
c0432d11811c
eb175c3290cd7ea85da4a590db9461504a4904bc
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
7
diff
changeset
|
29 |
MMP_OPTION_KEYWORDS = CW ARMCC GCCE |
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
30 |
VERSION_FLAGS.ARMCC = ARMCC_4_0 |
0 | 31 |
QMAKE_CXX = g++ |
32 |
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS |
|
33 |
QMAKE_CXXFLAGS.CW = |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
34 |
QMAKE_CXXFLAGS.ARMCC = --visibility_inlines_hidden |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
35 |
QMAKE_CXXFLAGS.ARMCC_4_0 = --import_all_vtbl |
5
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
36 |
QMAKE_CXXFLAGS.GCCE = -fvisibility-inlines-hidden |
0 | 37 |
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS |
38 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON |
|
39 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF |
|
40 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE |
|
41 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG |
|
42 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
43 |
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD |
|
44 |
QMAKE_CXXFLAGS_RTTI_ON = |
|
45 |
QMAKE_CXXFLAGS_RTTI_OFF = |
|
46 |
QMAKE_CXXFLAGS_EXCEPTIONS_ON = |
|
47 |
QMAKE_CXXFLAGS_EXCEPTIONS_OFF = |
|
48 |
||
49 |
QMAKE_INCDIR = |
|
50 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
51 |
||
52 |
QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src |
|
53 |
QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< |
|
54 |
QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src |
|
55 |
QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< |
|
56 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
57 |
QMAKE_LINK = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
58 |
QMAKE_LFLAGS = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
59 |
QMAKE_LFLAGS.ARMCC = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
60 |
QMAKE_LFLAGS_EXCEPTIONS_ON = |
0 | 61 |
QMAKE_LFLAGS_EXCEPTIONS_OFF = |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
62 |
QMAKE_LFLAGS_RELEASE = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
63 |
QMAKE_LFLAGS_DEBUG = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
64 |
QMAKE_LFLAGS_CONSOLE = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
65 |
QMAKE_LFLAGS_WINDOWS = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
66 |
QMAKE_LFLAGS_DLL = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
67 |
QMAKE_LINK_OBJECT_MAX = |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
68 |
QMAKE_LINK_OBJECT_SCRIPT= |
0 | 69 |
|
13
c0432d11811c
eb175c3290cd7ea85da4a590db9461504a4904bc
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
7
diff
changeset
|
70 |
QMAKE_LIBS = -llibc -llibm -leuser -llibdl -lcone -leikcore -lmediaclientaudio -leikcoctl -leiksrv -lapparc -lavkon -lefsrv -lcharconv -lws32 -lhal -lgdi -lapgrfx |
5
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
71 |
QMAKE_LIBS_CORE = $$QMAKE_LIBS -llibpthread -lefsrv |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
72 |
QMAKE_LIBS_GUI = $$QMAKE_LIBS_CORE -lfbscli -lbitgdi -lhal -lgdi -lws32 -lapgrfx -lcone -leikcore -lmediaclientaudio -leikcoctl -leiksrv -lapparc -lcentralrepository |
0 | 73 |
QMAKE_LIBS_NETWORK = |
74 |
QMAKE_LIBS_EGL = -llibEGL |
|
75 |
QMAKE_LIBS_OPENGL = |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
76 |
QMAKE_LIBS_OPENVG = -llibOpenVG -lfbscli -lbitgdi -lgdi |
0 | 77 |
QMAKE_LIBS_COMPAT = |
78 |
QMAKE_LIBS_QT_ENTRY = -llibcrt0.lib |
|
79 |
QMAKE_LIBS_S60 = -lavkon |
|
80 |
||
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
81 |
exists($${EPOCROOT}epoc32/include/platform/sgresource/sgimage.h) { |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
82 |
QMAKE_LIBS_OPENVG += -lsgresource |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
83 |
} |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
84 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
85 |
contains(QMAKE_HOST.os,Windows) { |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
86 |
QMAKE_COPY = copy /y |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
87 |
QMAKE_COPY_DIR = xcopy /s /q /y /i |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
88 |
QMAKE_MOVE = move |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
89 |
QMAKE_DEL_FILE = del |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
90 |
QMAKE_MKDIR = mkdir |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
91 |
QMAKE_DEL_DIR = rmdir |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
92 |
QMAKE_CHK_DIR_EXISTS = if not exist |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
93 |
} else { |
0 | 94 |
QMAKE_COPY = cp |
95 |
QMAKE_COPY_DIR = cp -r |
|
96 |
QMAKE_MOVE = mv |
|
97 |
QMAKE_DEL_FILE = rm -f |
|
98 |
QMAKE_MKDIR = mkdir |
|
99 |
QMAKE_DEL_DIR = rmdir |
|
100 |
QMAKE_CHK_DIR_EXISTS = test -d |
|
101 |
} |
|
102 |
||
13
c0432d11811c
eb175c3290cd7ea85da4a590db9461504a4904bc
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
7
diff
changeset
|
103 |
QMAKE_MOC = /epoc32/tools/moc$$(DOTEXE) |
c0432d11811c
eb175c3290cd7ea85da4a590db9461504a4904bc
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
7
diff
changeset
|
104 |
QMAKE_UIC = /epoc32/tools/uic$$(DOTEXE) |
c0432d11811c
eb175c3290cd7ea85da4a590db9461504a4904bc
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
7
diff
changeset
|
105 |
QMAKE_IDC = /epoc32/tools/idc$$(DOTEXE) |
c0432d11811c
eb175c3290cd7ea85da4a590db9461504a4904bc
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
7
diff
changeset
|
106 |
QMAKE_RCC = /epoc32/tools/rcc$$(DOTEXE) |
0 | 107 |
|
108 |
QMAKE_IDL = midl |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
109 |
QMAKE_LIB = /epoc32/gcc_mingw/bin/ar -ru |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
110 |
QMAKE_RC = /epoc32/gcc_mingw/bin/windres |
0 | 111 |
QMAKE_ZIP = zip -r -9 |
112 |
||
113 |
QMAKE_STRIP = $${EPOCROOT}epoc32/gcc_mingw/bin/strip |
|
114 |
QMAKE_STRIPFLAGS_LIB += --strip-unneeded |
|
115 |
||
116 |
load(qt_config) |
|
117 |
load(platform_paths) |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
118 |
load(add_mmp_rules) |
0 | 119 |
|
120 |
symbian-abld { |
|
121 |
# Versions of abld prior to Symbian^3 have a bug where you cannot remove something from the command line without replacing it |
|
122 |
# Rather than figure out which version of abld we're using, we'll replace the command with a macro *that should never be used* |
|
123 |
MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA = "OPTION_REPLACE ARMCC --export_all_vtbl -D__QT_NOEFFECTMACRO_DONOTUSE" |
|
124 |
} else { |
|
125 |
MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA = "OPTION_REPLACE ARMCC --export_all_vtbl // don't use --export_all_vtbl" |
|
126 |
} |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
127 |
MMP_RULES += PAGED BYTEPAIRCOMPRESSTARGET |
0 | 128 |
MMP_RULES += $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA |
129 |
SYMBIAN_PLATFORMS = WINSCW GCCE ARMV5 ARMV6 |
|
130 |
||
131 |
INCLUDEPATH = \ |
|
132 |
$$[QT_INSTALL_PREFIX]/mkspecs/common/symbian/stl-off \ |
|
133 |
$$[QT_INSTALL_PREFIX]/mkspecs/common/symbian \ |
|
134 |
$${EPOCROOT}epoc32/include \ |
|
135 |
$$OS_LAYER_LIBC_SYSTEMINCLUDE \ |
|
136 |
$$INCLUDEPATH |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
137 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
138 |
# Ensure '.' directory is the first in include path. |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
139 |
# RVCT seems to do this automatically, but WINSCW compiler does not, so add it here. |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
140 |
MMP_RULES += "USERINCLUDE ." |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
141 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
142 |
# pkg_depends_webkit, pkg_depends_core, and pkg_platform_dependencies can be removed by developer |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
143 |
# if multiple languages need to be supported by pkg file. In that case the developer should declare |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
144 |
# multiple language compatible dependency statements him/herself. |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
145 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
146 |
default_deployment.pkg_prerules += pkg_depends_webkit pkg_depends_qt pkg_platform_dependencies |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
147 |
|
0 | 148 |
# Supports S60 3.0, 3.1, 3.2 and 5.0 by default |
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
149 |
pkg_platform_dependencies = \ |
0 | 150 |
"; Default HW/platform dependencies" \ |
151 |
"[0x101F7961],0,0,0,{\"S60ProductID\"}" \ |
|
152 |
"[0x102032BE],0,0,0,{\"S60ProductID\"}" \ |
|
153 |
"[0x102752AE],0,0,0,{\"S60ProductID\"}" \ |
|
154 |
"[0x1028315F],0,0,0,{\"S60ProductID\"}" \ |
|
155 |
" " |
|
156 |
||
157 |
DEPLOYMENT += default_deployment |
|
158 |
||
159 |
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/Series60v5.0.sis )|exists($${EPOCROOT}epoc32/data/z/system/install/Series60v5.0.sis) { |
|
160 |
S60_VERSION = 5.0 |
|
161 |
} else { |
|
162 |
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/Series60v3.2.sis )|exists($${EPOCROOT}epoc32/data/z/system/install/Series60v3.2.sis) { |
|
163 |
S60_VERSION = 3.2 |
|
164 |
} else { |
|
165 |
S60_VERSION = 3.1 |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
166 |
MMP_RULES -= PAGED BYTEPAIRCOMPRESSTARGET |
0 | 167 |
} |
168 |
} |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
169 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
170 |
QMAKE_CXXFLAGS_FAST_VFP.ARMCC = --fpmode fast |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
171 |
# [TODO] QMAKE_CXXFLAGS_FAST_VFP.GCCE = |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
172 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
173 |
symbian { |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
174 |
armfpu = $$find(MMP_RULES, "ARMFPU") |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
175 |
!isEmpty(armfpu) { |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
176 |
vfpv2 = $$find(MMP_RULES, "vfpv2") |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
177 |
!isEmpty(vfpv2) { |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
178 |
# we will respect fpu setting obtained from configure, but, |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
179 |
# if vfpv2 or softvfp+vfpv2 used we want to force RunFast VFP mode |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
180 |
QMAKE_CXXFLAGS.ARMCC += $${QMAKE_CXXFLAGS_FAST_VFP.ARMCC} |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
181 |
# [TODO] QMAKE_CXXFLAGS.GCCE += $${QMAKE_CXXFLAGS_FAST_VFP.GCCE} |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
182 |
} |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
183 |
} |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
5
diff
changeset
|
184 |
} |