pjproject/build.symbian/pjlib_test.mmp
Benny Prijono 1e6be1c564 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
2009-06-17 12:34:18 +00:00

75 lines
1.2 KiB
Text

TARGET pjlib_test.exe
TARGETTYPE exe
UID 0x0 0xA0000002
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
#else
STATICLIBRARY pjlib.lib
#endif
// Test files
SOURCE activesock.c
SOURCE atomic.c
SOURCE echo_clt.c
SOURCE errno.c
SOURCE exception.c
SOURCE fifobuf.c
SOURCE file.c
SOURCE hash_test.c
SOURCE ioq_perf.c
SOURCE ioq_tcp.c
SOURCE ioq_udp.c
SOURCE ioq_unreg.c
SOURCE list.c
SOURCE mutex.c
SOURCE os.c
SOURCE pool.c
SOURCE pool_perf.c
SOURCE rand.c
SOURCE rbtree.c
SOURCE select.c
SOURCE sleep.c
SOURCE sock.c
SOURCE sock_perf.c
SOURCE string.c
SOURCE test.c
SOURCE thread.c
SOURCE timer.c
SOURCE timestamp.c
SOURCE udp_echo_srv_ioqueue.c
SOURCE udp_echo_srv_sync.c
SOURCE util.c
SOURCE main_symbian.cpp
DOCUMENT test.h
SYSTEMINCLUDE ..\pjlib\include
SYSTEMINCLUDE \epoc32\include
SYSTEMINCLUDE \epoc32\include\libc
LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib
#ifdef WINSCW
STATICLIBRARY eexe.lib ecrt0.lib
#endif
// Need a bit of mem for logging in the app.
EPOCSTACKSIZE 32768