From 0af5425964a96194759fcdb4c67043ad253ef58c Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 17 Jun 2009 12:34:18 +0000 Subject: 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 --- build.symbian/pjlib_test.mmp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'build.symbian/pjlib_test.mmp') 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 + -- cgit v1.2.3