Commit efa68a54 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Build msamr with CMake.

parent c4fcedd8
......@@ -24,26 +24,19 @@ set(EP_msamr_GIT_REPOSITORY "git://git.linphone.org/msamr.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_msamr_GIT_TAG "master")
else()
set(EP_msamr_GIT_TAG "3f58b5ffd23555129c0c2c81e2914e3dd4cea241")
set(EP_msamr_GIT_TAG "3a2fde3eaa3858348365ad3ceb155ce9c2ea7ac2")
endif()
set(EP_msamr_BUILD_METHOD "autotools")
set(EP_msamr_USE_AUTOGEN "yes")
set(EP_msamr_CONFIGURE_OPTIONS )
set(EP_msamr_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_HOST}"
)
set(EP_msamr_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_msamr_CMAKE_OPTIONS )
set(EP_msamr_DEPENDENCIES EP_ms2 EP_opencoreamr)
if(ENABLE_AMRNB)
list(APPEND EP_msamr_CONFIGURE_OPTIONS "--enable-narrowband")
list(APPEND EP_msamr_CMAKE_OPTIONS "-DENABLE_NARROWBAND=YES")
else()
list(APPEND EP_msamr_CONFIGURE_OPTIONS "--disable-narrowband")
list(APPEND EP_msamr_CMAKE_OPTIONS "-DENABLE_NARROWBAND=NO")
endif()
if(ENABLE_AMRWB)
list(APPEND EP_msamr_CONFIGURE_OPTIONS "--enable-wideband")
list(APPEND EP_msamr_CMAKE_OPTIONS "-DENABLE_WIDEBAND=YES")
list(APPEND EP_msamr_DEPENDENCIES EP_voamrwbenc)
else()
list(APPEND EP_msamr_CONFIGURE_OPTIONS "--disable-wideband")
list(APPEND EP_msamr_CMAKE_OPTIONS "-DENABLE_WIDEBAND=NO")
endif()
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