summaryrefslogtreecommitdiff
path: root/build.symbian/pjlib_test.mmp
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-06-17 12:34:18 +0000
committerBenny Prijono <bennylp@teluu.com>2009-06-17 12:34:18 +0000
commit0af5425964a96194759fcdb4c67043ad253ef58c (patch)
treece72d4b218af540b10a65c4de1f9b7ee9b6a733f /build.symbian/pjlib_test.mmp
parent5d320b2635275397f866c650084e9dbd7a3932a4 (diff)
Ticket #887: Re-enable compile as C++ option for libraries as part of making exception work in Symbian
- also added pjlib-test in bld.inf - added pjlib-test.pkg - changed hash.c to hash_test.c in pjlib_test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2768 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build.symbian/pjlib_test.mmp')
-rw-r--r--build.symbian/pjlib_test.mmp11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.symbian/pjlib_test.mmp b/build.symbian/pjlib_test.mmp
index 13783c2f..f779591a 100644
--- a/build.symbian/pjlib_test.mmp
+++ b/build.symbian/pjlib_test.mmp
@@ -8,6 +8,12 @@ SOURCEPATH ..\pjlib\src\pjlib-test
MACRO PJ_M_I386=1
MACRO PJ_SYMBIAN=1
+// Must compile as C++, otherwise exception would not work
+OPTION CW -lang c++
+OPTION ARMCC --cpp
+OPTION GCC -x c++
+OPTION GCCE -x c++
+
#if defined(PJ_BUILD_DLL)
MACRO PJ_DLL
LIBRARY pjlib.lib
@@ -24,7 +30,7 @@ SOURCE errno.c
SOURCE exception.c
SOURCE fifobuf.c
SOURCE file.c
-SOURCE hash.c
+SOURCE hash_test.c
SOURCE ioq_perf.c
SOURCE ioq_tcp.c
SOURCE ioq_udp.c
@@ -63,3 +69,6 @@ LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib
STATICLIBRARY eexe.lib ecrt0.lib
#endif
+// Need a bit of mem for logging in the app.
+EPOCSTACKSIZE 32768
+