Commit f6c684a4 authored by Ghislain MARY's avatar Ghislain MARY

Add builder for opencore-amr and msamr.

parent b4a35bb3
......@@ -58,9 +58,14 @@ list(APPEND LINPHONE_BUILDER_BUILDERS
bellesip
ortp
ms2
linphone
)
if(${ENABLE_AMR})
list(APPEND LINPHONE_BUILDER_BUILDERS opencoreamr msamr)
endif(${ENABLE_AMR})
list(APPEND LINPHONE_BUILDER_BUILDERS linphone)
# Include builders
foreach(BUILDER ${LINPHONE_BUILDER_BUILDERS})
......
......@@ -43,6 +43,10 @@ else(WIN32)
set(EP_linphone_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_linphone_DEPENDENCIES EP_bellesip EP_ortp EP_ms2 EP_xml2)
if(${ENABLE_AMR})
list(APPEND EP_linphone_DEPENDENCIES EP_msamr)
endif(${ENABLE_AMR})
if(${ENABLE_ZRTP})
# TODO
else(${ENABLE_ZRTP})
......
############################################################################
# msamr.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_msamr_GIT_REPOSITORY "git://git.linphone.org/msamr.git")
set(EP_msamr_GIT_TAG "17391e32465c25feec9b3b44b6967775ea9a56a9") # Branch 'master'
set(EP_msamr_USE_AUTOTOOLS "yes")
set(EP_msamr_USE_AUTOGEN "yes")
set(EP_msamr_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_TOOLCHAIN_HOST}"
)
set(EP_msamr_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_msamr_DEPENDENCIES EP_ms2 EP_opencoreamr)
############################################################################
# opencoreamr.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_opencoreamr_GIT_REPOSITORY "git://git.code.sf.net/p/opencore-amr/code")
set(EP_opencoreamr_GIT_TAG "cf4409e03ec56b1cd85a2f9532f58bc1fa9db274")
set(EP_opencoreamr_USE_AUTOTOOLS "yes")
set(EP_opencoreamr_USE_AUTOGEN "yes")
set(EP_opencoreamr_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_TOOLCHAIN_HOST}"
)
set(EP_opencoreamr_LINKING_TYPE "--disable-static" "--enable-shared")
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