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
remotes/origin/1.4.5
Benny Prijono 15 years ago
parent e11dbee073
commit 1e6be1c564

@ -35,3 +35,4 @@ pjmedia_audiodev.mmp
symbian_ua.mmp
..\pjsip-apps\src\symbian_ua_gui\group\symbian_ua_gui.mmp
gnumakefile ..\pjsip-apps\src\symbian_ua_gui\group\Icons_aif_scalable_dc.mk
pjlib_test.mmp

@ -22,6 +22,12 @@ SOURCEPATH ..\pjlib\src\pj
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++
//
// Platform independent source
//

@ -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

@ -0,0 +1,18 @@
; pjlib_test.pkg
; Languages
&EN
; Header
;#{"pjlib_test"},(0x200235D3), 0, 1, 1
#{"pjlib_test"},(0xA000000D), 0, 1, 1
; Platform compatibility
[0x101F7961], *, *, *,{"Series60ProductID"}
; vendor
%{"PJSIP"}
:"PJSIP"
; Target
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\pjlib_test.exe"-"!:\sys\bin\pjlib_test.exe"

@ -22,6 +22,12 @@ SOURCEPATH ..\pjlib-util\src\pjlib-util
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++
//
// PJLIB-UTIL files
//

@ -20,8 +20,6 @@ TARGETTYPE lib
SOURCEPATH ..\pjmedia\src\pjmedia
//OPTION CW -lang c++
//
// GCCE optimization setting
//
@ -30,6 +28,12 @@ OPTION GCCE -O2 -fno-unit-at-a-time
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++
//
// Platform independent source
//

@ -22,6 +22,12 @@ SOURCEPATH ..\pjmedia\src\pjmedia
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++
//
// Platform independent source
//

@ -25,6 +25,12 @@ SOURCEPATH ..\pjsip\src\pjsip
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++
// PJSIP-CORE files
//SOURCE sip_auth_aka.c

@ -25,6 +25,12 @@ SOURCEPATH ..\pjsip\src\pjsip-simple
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++
// PJSIP-SIMPLE files
SOURCE errno.c

@ -25,7 +25,11 @@ SOURCEPATH ..\pjsip\src\pjsip-ua
MACRO PJ_M_I386=1
MACRO PJ_SYMBIAN=1
//OPTION CW -lang c++
// Must compile as C++, otherwise exception would not work
OPTION CW -lang c++
OPTION ARMCC --cpp
OPTION GCC -x c++
OPTION GCCE -x c++
// PJSIP-UA files

@ -25,7 +25,11 @@ SOURCEPATH ..\pjsip\src\pjsua-lib
MACRO PJ_M_I386=1
MACRO PJ_SYMBIAN=1
// OPTION CW -lang c++
// Must compile as C++, otherwise exception would not work
OPTION CW -lang c++
OPTION ARMCC --cpp
OPTION GCC -x c++
OPTION GCCE -x c++
// PJLIB-UTIL files

Loading…
Cancel
Save