Module: sems Branch: master Commit: 412b8d9dbc48da7be0dc04cd912901401e46c486 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=412b8d9dbc48da7be0dc04cd912901401e46c486
Author: Peter Lemenkov <[email protected]> Committer: Peter Lemenkov <[email protected]> Date: Fri Feb 11 20:15:14 2011 +0300 Add more definitions to CMakefiles Signed-off-by: Peter Lemenkov <[email protected]> --- CMakeLists.txt | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5fa41d..05d6d57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -240,6 +240,27 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG") SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG") +# compile with session thread pool support? +# use this for very high concurrent call count +# applications (e.g. for signaling only) +# if compiled with thread pool, there will be a +# thread pool of configurable size processing the +# signaling and application logic of the calls. +# if compiled without thread pool support, every +# session will have its own thread. +# +#ADD_DEFINITIONS(-DSESSION_THREADPOOL) + +#ADD_DEFINITIONS(-DNO_THREADID_LOG) +#ADD_DEFINITIONS(-DLOG_LOC_DATA_ATEND) + +# Support for long debug messages? (useful for debugging SIP messages' contents) +# +# disable for slight performance gain +ADD_DEFINITIONS(-DLOG_BUFFER_LEN=2048) + +#ADD_DEFINITIONS(-DDEBUG_PLAYOUTBUF) + SET(CMAKE_SHARED_LIBRARY_PREFIX "") ADD_SUBDIRECTORY (core) _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
