diff options
author | Thomas Zander <t.zander@nokia.com> | 2010-03-02 16:02:51 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2010-03-02 16:02:51 (GMT) |
commit | c8502375c5b31d1b5726cad3efe95539d41fbb4e (patch) | |
tree | b893c97b787245700efbe7b9da1a79bd77544d53 /mkspecs/common/symbian | |
parent | d0c6958922627154bd907569e1ce5b830cb353f6 (diff) | |
download | Qt-c8502375c5b31d1b5726cad3efe95539d41fbb4e.zip Qt-c8502375c5b31d1b5726cad3efe95539d41fbb4e.tar.gz Qt-c8502375c5b31d1b5726cad3efe95539d41fbb4e.tar.bz2 |
Make the symbian_building.prf be shared file
the fork I made for gcce is similar enough to now be shared between gcce and
armcc so move stuff around a bit to avoid the code duplication.
Diffstat (limited to 'mkspecs/common/symbian')
-rw-r--r-- | mkspecs/common/symbian/symbian-makefile.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/symbian-makefile.conf b/mkspecs/common/symbian/symbian-makefile.conf index 8c2bb35..ab2ef98 100644 --- a/mkspecs/common/symbian/symbian-makefile.conf +++ b/mkspecs/common/symbian/symbian-makefile.conf @@ -22,3 +22,22 @@ QMAKE_EXTENSION_PLUGIN = dll QMAKE_PREFIX_STATICLIB = QMAKE_EXTENSION_STATICLIB = lib QMAKE_SYMBIAN_SHLIB = 1 + +DEFINES *= __PRODUCT_INCLUDE__=\<$${EPOCROOT}epoc32/include/variant/symbian_os.hrh\> \ + __SYMBIAN32__ \ + __MARM_INTERWORK__ \ + _UNICODE \ + __S60_50__ \ + __S60_3X__ \ + __SERIES60_3X__ \ + __EPOC32__ \ + __MARM__ \ + __EABI__ \ + __MARM_ARMV5__ \ + __SUPPORT_CPP_EXCEPTIONS__ + +QMAKE_CFLAGS_DEBUG += -g +QMAKE_CXXFLAGS_DEBUG += -g +QMAKE_CFLAGS_RELEASE += -O2 -Otime +QMAKE_CXXFLAGS_RELEASE += -O2 -Otime + |