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: https://svn.pjsip.org/repos/pjproject/trunk@2768 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/build.symbian/pjlib_test.mmp b/build.symbian/pjlib_test.mmp
index 13783c2..f779591 100644
--- a/build.symbian/pjlib_test.mmp
+++ b/build.symbian/pjlib_test.mmp
@@ -8,6 +8,12 @@
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 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 @@
STATICLIBRARY eexe.lib ecrt0.lib
#endif
+// Need a bit of mem for logging in the app.
+EPOCSTACKSIZE 32768
+