Module: sems Branch: master Commit: dc9970b8dba975ffdbcc4cfb0de30b372f40d665 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=dc9970b8dba975ffdbcc4cfb0de30b372f40d665
Author: Peter Lemenkov <[email protected]> Committer: Peter Lemenkov <[email protected]> Date: Tue Nov 29 21:09:16 2011 +0400 Added db_reg_agent module to CMake Signed-off-by: Peter Lemenkov <[email protected]> --- apps/CMakeLists.txt | 3 +++ apps/db_reg_agent/CMakeLists.txt | 10 ++++++++++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 556accd..aacb70b 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -8,6 +8,9 @@ IF(PYTHONLIBS_FOUND) ADD_SUBDIRECTORY(conf_auth) ENDIF(PYTHONLIBS_FOUND) ADD_SUBDIRECTORY(conference) +IF(MYSQLPP_FOUND) + ADD_SUBDIRECTORY(db_reg_agent) +ENDIF(MYSQLPP_FOUND) IF(OPENSSL_FOUND) ADD_SUBDIRECTORY(diameter_client) ENDIF(OPENSSL_FOUND) diff --git a/apps/db_reg_agent/CMakeLists.txt b/apps/db_reg_agent/CMakeLists.txt new file mode 100644 index 0000000..bef0779 --- /dev/null +++ b/apps/db_reg_agent/CMakeLists.txt @@ -0,0 +1,10 @@ +set (db_reg_agent_SRCS +DBRegAgent.cpp +RegistrationTimer.cpp +) + +ADD_DEFINITIONS(-DHAS_OFFER_ANSWER) +SET(sems_module_libs ${sems_module_libs} mysqlpp) + +SET(sems_module_name db_reg_agent) +INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt) _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
