Commit d555906b authored by Ghislain MARY's avatar Ghislain MARY

Add tunnel builder.

parent 700be321
......@@ -58,11 +58,16 @@ list(APPEND LINPHONE_BUILDER_BUILDERS
xml2
antlr3c
polarssl
bellesip
ortp
ms2
)
if(${ENABLE_TUNNEL})
list(APPEND LINPHONE_BUILDER_BUILDERS tunnel)
endif(${ENABLE_TUNNEL})
list(APPEND LINPHONE_BUILDER_BUILDERS bellesip)
if(${ENABLE_AMRNB} OR ${ENABLE_AMRWB})
list(APPEND LINPHONE_BUILDER_BUILDERS opencoreamr)
endif(${ENABLE_AMRNB} OR ${ENABLE_AMRWB})
......
......@@ -21,7 +21,7 @@
############################################################################
set(EP_bellesip_GIT_REPOSITORY "git://git.linphone.org/belle-sip.git")
set(EP_bellesip_GIT_TAG "615e728cace72f3688f9e61e798cd2f076f8a678") # Branch 'master'
set(EP_bellesip_GIT_TAG "19f8d20aaae5a88d23dd244b8bbbc934d20fd478") # Branch 'master'
set(EP_bellesip_CMAKE_OPTIONS )
set(EP_bellesip_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bellesip_DEPENDENCIES EP_antlr3c EP_polarssl)
......@@ -29,6 +29,12 @@ if(MSVC)
set(EP_bellesip_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
if(${ENABLE_TUNNEL})
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=1")
list(APPEND EP_bellesip_DEPENDENCIES EP_tunnel)
else(${ENABLE_TUNNEL})
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=0")
endif(${ENABLE_TUNNEL})
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_bellesip_DEPENDENCIES EP_cunit)
else(${ENABLE_UNIT_TESTS})
......
......@@ -78,6 +78,13 @@ else(WIN32)
list(APPEND EP_linphone_CONFIGURE_OPTIONS "--disable-zrtp")
endif(${ENABLE_ZRTP})
if(${ENABLE_TUNNEL})
list(APPEND EP_linphone_CONFIGURE_OPTIONS "--enable-tunnel")
list(APPEND EP_linphone_DEPENDENCIES EP_tunnel)
else(${ENABLE_TUNNEL})
list(APPEND EP_linphone_CONFIGURE_OPTIONS "--disable-tunnel")
endif(${ENABLE_TUNNEL})
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_linphone_DEPENDENCIES EP_cunit)
else(${ENABLE_UNIT_TESTS})
......
############################################################################
# tunnel.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
set(EP_tunnel_GIT_REPOSITORY "gitosis@git.linphone.org:tunnel.git") # Private repository
set(EP_tunnel_GIT_TAG "e6d100c33e0147ae35cdf693dbcd7b9413cb84ef") # Branch 'master'
set(EP_tunnel_USE_AUTOTOOLS "yes")
set(EP_tunnel_USE_AUTOGEN "yes")
set(EP_tunnel_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_TOOLCHAIN_HOST}"
)
set(EP_tunnel_CONFIGURE_OPTIONS
"--disable-servers"
)
set(EP_tunnel_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_tunnel_DEPENDENCIES EP_polarssl)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment