Commit 6e2500b0 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Added belr & belcard builders

parent f45364d8
############################################################################
# belcard.cmake
# Copyright (C) 2015 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_belcard_GIT_REPOSITORY "git://git.linphone.org/belcard.git" CACHE STRING "belcard repository URL")
set(EP_belcard_GIT_TAG_LATEST "master" CACHE STRING "belcard tag to use when compiling latest version")
set(EP_belcard_EXTERNAL_SOURCE_PATHS "belcard")
set(EP_belcard_GROUPABLE YES)
set(EP_belcard_DEPENDENCIES EP_belr)
if(EP_belcard_FORCE_AUTOTOOLS)
set(EP_belcard_LINKING_TYPE "--enable-static")
set(EP_belcard_USE_AUTOGEN True)
else()
set(EP_belcard_LINKING_TYPE "${DEFAULT_VALUE_CMAKE_LINKING_TYPE}")
endif()
if(MSVC)
set(EP_belcard_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
# TODO: Activate strict compilation options on IOS
if(IOS)
list(APPEND EP_belcard_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
endif()
############################################################################
# belr.cmake
# Copyright (C) 2015 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_belr_GIT_REPOSITORY "git://git.linphone.org/belr.git" CACHE STRING "belr repository URL")
set(EP_belr_GIT_TAG_LATEST "master" CACHE STRING "belr tag to use when compiling latest version")
set(EP_belr_EXTERNAL_SOURCE_PATHS "belr")
set(EP_belr_GROUPABLE YES)
if(EP_belr_FORCE_AUTOTOOLS)
set(EP_belr_LINKING_TYPE "--enable-static")
set(EP_belr_USE_AUTOGEN True)
else()
set(EP_belr_LINKING_TYPE "${DEFAULT_VALUE_CMAKE_LINKING_TYPE}")
endif()
if(MSVC)
set(EP_belr_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
# TODO: Activate strict compilation options on IOS
if(IOS)
list(APPEND EP_belr_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
endif()
......@@ -56,6 +56,9 @@ list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_TUNNEL=${ENABLE_TUNNEL}")
if(ENABLE_TUNNEL)
list(APPEND EP_linphone_DEPENDENCIES EP_tunnel)
endif()
if(ENABLE_VCARD)
list(APPEND EP_linphone_DEPENDENCIES EP_belcard)
endif()
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_UNIT_TESTS=${ENABLE_UNIT_TESTS}")
if(ENABLE_UNIT_TESTS AND LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_linphone_DEPENDENCIES EP_cunit)
......
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