Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
efa9910f
Commit
efa9910f
authored
Feb 19, 2014
by
Ghislain MARY
Browse files
Reorganize builders.
parent
58343099
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
209 additions
and
54 deletions
+209
-54
CMakeLists.txt
CMakeLists.txt
+2
-3
builders/CMakeLists.txt
builders/CMakeLists.txt
+41
-1
builders/antlr3c.cmake
builders/antlr3c.cmake
+3
-1
builders/bellesip.cmake
builders/bellesip.cmake
+10
-1
builders/cunit.cmake
builders/cunit.cmake
+3
-1
builders/ffmpeg.cmake
builders/ffmpeg.cmake
+11
-1
builders/gsm.cmake
builders/gsm.cmake
+3
-1
builders/linphone.cmake
builders/linphone.cmake
+17
-1
builders/ms2.cmake
builders/ms2.cmake
+46
-1
builders/opus.cmake
builders/opus.cmake
+4
-1
builders/ortp.cmake
builders/ortp.cmake
+16
-1
builders/polarssl.cmake
builders/polarssl.cmake
+2
-1
builders/speex.cmake
builders/speex.cmake
+2
-1
builders/srtp.cmake
builders/srtp.cmake
+2
-1
builders/v4l.cmake
builders/v4l.cmake
+3
-1
builders/vpx.cmake
builders/vpx.cmake
+10
-1
builders/xml2.cmake
builders/xml2.cmake
+4
-1
cmake/LinphoneCMakeBuilder.cmake
cmake/LinphoneCMakeBuilder.cmake
+25
-31
configs/config-bb10-arm.cmake
configs/config-bb10-arm.cmake
+1
-1
configs/config-bb10.cmake
configs/config-bb10.cmake
+4
-3
No files found.
CMakeLists.txt
View file @
efa9910f
...
...
@@ -37,10 +37,9 @@ linphone_builder_apply_toolchain_flags()
# Include project configuration according to the toolchain
include
(
configs/config-
${
LINPHONE_BUILDER_TOOLCHAIN
}
.cmake
)
linphone_builder_add_external_projects
()
# Include builders definitions
include
(
builders/CMakeLists.txt
)
# Give a feature summary
feature_summary
(
WHAT ENABLED_FEATURES DESCRIPTION
"Enabled features:"
)
feature_summary
(
WHAT DISABLED_FEATURES DESCRIPTION
"Disabled features:"
)
builders/CMakeLists.txt
View file @
efa9910f
...
...
@@ -20,7 +20,47 @@
#
############################################################################
cmake_minimum_required
(
VERSION 2.8
)
# Include linphone builder options definitions
include
(
cmake/LinphoneBuilderOptions.cmake
)
# List of the projects to build. The order is important and must follow the dependencies.
set
(
LINPHONE_BUILDER_BUILDERS
)
if
(
${
ENABLE_UNIT_TESTS
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS cunit
)
endif
(
${
ENABLE_UNIT_TESTS
}
)
if
(
${
ENABLE_SRTP
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS srtp
)
endif
(
${
ENABLE_SRTP
}
)
if
(
${
ENABLE_GSM
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS gsm
)
endif
(
${
ENABLE_GSM
}
)
if
(
${
ENABLE_OPUS
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS opus
)
endif
(
${
ENABLE_OPUS
}
)
if
(
${
ENABLE_SPEEX
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS speex
)
endif
(
${
ENABLE_SPEEX
}
)
if
(
${
ENABLE_FFMPEG
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS ffmpeg
)
endif
(
${
ENABLE_FFMPEG
}
)
if
(
${
ENABLE_VPX
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS vpx
)
endif
(
${
ENABLE_VPX
}
)
if
(
"
${
BUILD_V4L
}
"
STREQUAL
"yes"
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS v4l
)
endif
(
"
${
BUILD_V4L
}
"
STREQUAL
"yes"
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS
xml2
antlr3c
polarssl
bellesip
ortp
ms2
linphone
)
# Include builders
foreach
(
BUILDER
${
LINPHONE_BUILDER_BUILDERS
}
)
...
...
builders/antlr3c.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,6 @@
#
############################################################################
linphone_builder_add_cmake_project
(
antlr3c
)
set
(
EP_antlr3c_GIT_REPOSITORY
"git://git.linphone.org/antlr3.git"
)
set
(
EP_antlr3c_GIT_TAG
"b882cfc0d8e6485d6d050e7f5ec36f870c7ece7b"
)
# Branch 'linphone'
set
(
EP_antlr3c_CMAKE_OPTIONS
"-DENABLE_DEBUGGER=0"
)
builders/bellesip.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,13 @@
#
############################################################################
linphone_builder_add_cmake_project
(
bellesip
)
set
(
EP_bellesip_GIT_REPOSITORY
"git://git.linphone.org/belle-sip.git"
)
set
(
EP_bellesip_GIT_TAG
"cb977e6aaa0a319c437d08e3d67492d1453adbfb"
)
# Branch 'master'
set
(
EP_bellesip_CMAKE_OPTIONS
)
set
(
EP_bellesip_DEPENDENCIES EP_antlr3c EP_polarssl
)
if
(
${
ENABLE_UNIT_TESTS
}
)
list
(
APPEND EP_bellesip_DEPENDENCIES EP_cunit
)
else
(
${
ENABLE_UNIT_TESTS
}
)
list
(
APPEND EP_bellesip_CMAKE_OPTIONS
"-DENABLE_TESTS=0"
)
endif
(
${
ENABLE_UNIT_TESTS
}
)
builders/cunit.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,6 @@
#
############################################################################
linphone_builder_add_cmake_project
(
cunit
)
set
(
EP_cunit_GIT_REPOSITORY
"git://git.linphone.org/cunit.git"
)
set
(
EP_cunit_GIT_TAG
"86562ef04d0d66c007d7822944a75f540ae37f19"
)
# Branch 'linphone'
set
(
EP_cunit_CMAKE_OPTIONS
"-DENABLE_AUTOMATED=0"
"-DENABLE_CONSOLE=0"
)
builders/ffmpeg.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,14 @@
#
############################################################################
linphone_builder_add_autotools_project
(
ffmpeg
)
set
(
EP_ffmpeg_URL
"http://ffmpeg.org/releases/ffmpeg-0.10.2.tar.gz"
)
set
(
EP_ffmpeg_AUTOTOOLS
"yes"
)
# Disable video acceleration support for compatibility with older Mac OS X versions (vda, vaapi, vdpau).
set
(
EP_ffmpeg_CONFIGURE_OPTIONS
"--enable-pic --disable-zlib --disable-bzlib --disable-mmx --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-network --disable-avformat --disable-everything --enable-decoder=mjpeg --enable-encoder=mjpeg --disable-vda --disable-vaapi --disable-vdpau"
)
set
(
EP_ffmpeg_ARCH
"i386"
)
if
(
APPLE
)
set
(
EP_ffmpeg_TARGET_OS
"darwin"
)
else
(
APPLE
)
set
(
EP_ffmpeg_TARGET_OS
"linux"
)
endif
(
APPLE
)
builders/gsm.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,6 @@
#
############################################################################
linphone_builder_add_cmake_project
(
gsm
)
set
(
EP_gsm_GIT_REPOSITORY
"git://git.linphone.org/gsm.git"
)
set
(
EP_gsm_GIT_TAG
"8729c98e098341582e9c9f00e56b74f7e53e1034"
)
# Branch 'linphone'
set
(
EP_gsm_PATCH_COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"copy"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/gsm/CMakeLists.txt"
"<SOURCE_DIR>"
)
builders/linphone.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,20 @@
#
############################################################################
linphone_builder_add_autotools_project
(
linphone
)
set
(
EP_linphone_GIT_REPOSITORY
"git://git.linphone.org/linphone.git"
)
set
(
EP_linphone_GIT_TAG
"3a8d2ee20d219432b40cc583dd0d0a3e28e4e7f7"
)
# Branch 'master'
set
(
EP_linphone_AUTOTOOLS
"yes"
)
set
(
EP_linphone_CONFIGURE_OPTIONS
"--disable-strict --enable-bellesip --enable-external-ortp --enable-external-mediastreamer"
)
set
(
EP_linphone_DEPENDENCIES EP_bellesip EP_ortp EP_ms2 EP_xml2
)
if
(
${
ENABLE_ZRTP
}
)
# TODO
else
(
${
ENABLE_ZRTP
}
)
set
(
EP_linphone_CONFIGURE_OPTIONS
"
${
EP_linphone_CONFIGURE_OPTIONS
}
--disable-zrtp"
)
endif
(
${
ENABLE_ZRTP
}
)
if
(
${
ENABLE_UNIT_TESTS
}
)
list
(
APPEND EP_linphone_DEPENDENCIES EP_cunit
)
else
(
${
ENABLE_UNIT_TESTS
}
)
set
(
EP_linphone_CONFIGURE_OPTIONS
"
${
EP_linphone_CONFIGURE_OPTIONS
}
--disable-tests"
)
endif
(
${
ENABLE_UNIT_TESTS
}
)
builders/ms2.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,49 @@
#
############################################################################
linphone_builder_add_autotools_project
(
ms2
)
set
(
EP_ms2_GIT_REPOSITORY
"git://git.linphone.org/mediastreamer2.git"
)
set
(
EP_ms2_GIT_TAG
"a16157a62d0512b54ee7b36dadea5a95e83847c0"
)
# Branch 'master'
set
(
EP_ms2_AUTOTOOLS
"yes"
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"--disable-strict --enable-external-ortp"
)
set
(
EP_ms2_DEPENDENCIES EP_ortp
)
if
(
${
ENABLE_GSM
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--with-gsm=
${
CMAKE_INSTALL_PREFIX
}
"
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_gsm
)
else
(
${
ENABLE_GSM
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-gsm"
)
endif
(
${
ENABLE_GSM
}
)
if
(
${
ENABLE_OPUS
}
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_opus
)
else
(
${
ENABLE_OPUS
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-opus"
)
endif
(
${
ENABLE_OPUS
}
)
if
(
${
ENABLE_SPEEX
}
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_speex
)
else
(
${
ENABLE_SPEEX
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-speex"
)
endif
(
${
ENABLE_SPEEX
}
)
if
(
${
ENABLE_FFMPEG
}
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_ffmpeg
)
else
(
${
ENABLE_FFMPEG
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-ffmpeg"
)
endif
(
${
ENABLE_FFMPEG
}
)
if
(
${
ENABLE_VPX
}
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_vpx
)
else
(
${
ENABLE_VPX
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-vp8"
)
endif
(
${
ENABLE_VPX
}
)
if
(
"
${
BUILD_V4L
}
"
STREQUAL
"yes"
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_v4l
)
endif
(
"
${
BUILD_V4L
}
"
STREQUAL
"yes"
)
if
(
${
ENABLE_UNIT_TESTS
}
)
list
(
APPEND EP_ms2_DEPENDENCIES EP_cunit
)
else
(
${
ENABLE_UNIT_TESTS
}
)
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-tests"
)
endif
(
${
ENABLE_UNIT_TESTS
}
)
builders/opus.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,7 @@
#
############################################################################
linphone_builder_add_autotools_project
(
opus
)
set
(
EP_opus_GIT_REPOSITORY
"git://git.opus-codec.org/opus.git"
)
set
(
EP_opus_GIT_TAG
"v1.0.3"
)
set
(
EP_opus_AUTOTOOLS
"yes"
)
set
(
EP_opus_CONFIGURE_OPTIONS
"--disable-extra-programs --disable-doc"
)
builders/ortp.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,19 @@
#
############################################################################
linphone_builder_add_autotools_project
(
ortp
)
set
(
EP_ortp_GIT_REPOSITORY
"git://git.linphone.org/ortp.git"
)
set
(
EP_ortp_GIT_TAG
"e1ea9d5121cdabbcc16ffdb884bf705caacd81a1"
)
# Branch 'master'
set
(
EP_ortp_AUTOTOOLS
"yes"
)
set
(
EP_ortp_CONFIGURE_OPTIONS
"--disable-strict"
)
set
(
EP_ortp_DEPENDENCIES
)
if
(
${
ENABLE_SRTP
}
)
set
(
EP_ortp_CONFIGURE_OPTIONS
"
${
EP_ortp_CONFIGURE_OPTIONS
}
--with-srtp=
${
CMAKE_INSTALL_PREFIX
}
"
)
list
(
APPEND EP_ortp_DEPENDENCIES EP_srtp
)
endif
(
${
ENABLE_SRTP
}
)
if
(
${
ENABLE_ZRTP
}
)
# TODO
else
(
${
ENABLE_ZRTP
}
)
set
(
EP_ortp_CONFIGURE_OPTIONS
"
${
EP_ortp_CONFIGURE_OPTIONS
}
--disable-zrtp"
)
endif
(
${
ENABLE_ZRTP
}
)
builders/polarssl.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,5 @@
#
############################################################################
linphone_builder_add_cmake_project
(
polarssl
)
set
(
EP_polarssl_GIT_REPOSITORY
"git://git.linphone.org/polarssl.git"
)
set
(
EP_polarssl_GIT_TAG
"3681900a1e0a3a8c77fc33c545cccd93977a1cf2"
)
# Branch 'linphone'
builders/speex.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,5 @@
#
############################################################################
linphone_builder_add_cmake_project
(
speex
)
set
(
EP_speex_GIT_REPOSITORY
"git://git.linphone.org/speex.git"
)
set
(
EP_speex_GIT_TAG
"302ce26e309efb1b4a4b7b6ea4807375d157258f"
)
# Branch 'linphone'
builders/srtp.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,5 @@
#
############################################################################
linphone_builder_add_cmake_project
(
srtp
)
set
(
EP_srtp_GIT_REPOSITORY
"git://git.linphone.org/srtp.git"
)
set
(
EP_srtp_GIT_TAG
"da2ece56f18d35a12f0fee5dcb99e03ff15864de"
)
# Branch 'master'
builders/v4l.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,6 @@
#
############################################################################
linphone_builder_add_autotools_project
(
v4l
)
set
(
EP_v4l_URL
"http://linuxtv.org/downloads/v4l-utils/v4l-utils-1.0.0.tar.bz2"
)
set
(
EP_v4l_AUTOTOOLS
"yes"
)
set
(
EP_v4l_CONFIGURE_OPTIONS
"--disable-v4l-utils --disable-libdvbv5 --with-udevdir=
${
CMAKE_INSTALL_PREFIX
}
/etc --without-jpeg"
)
builders/vpx.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,13 @@
#
############################################################################
linphone_builder_add_autotools_project
(
vpx
)
set
(
EP_vpx_GIT_REPOSITORY
"https://chromium.googlesource.com/webm/libvpx"
)
set
(
EP_vpx_GIT_TAG
"v1.3.0"
)
set
(
EP_vpx_AUTOTOOLS
"yes"
)
set
(
EP_vpx_CONFIGURE_OPTIONS
"--enable-pic --enable-error-concealment --enable-realtime-only --enable-spatial-resampling --enable-vp8 --disable-vp9 --enable-libs --disable-install-docs --disable-debug-libs --disable-examples --disable-unit-tests"
)
if
(
APPLE
)
set
(
EP_vpx_TARGET
"x86-darwin10-gcc"
)
else
(
APPLE
)
set
(
EP_vpx_TARGET
"generic-gnu"
)
endif
(
APPLE
)
builders/xml2.cmake
View file @
efa9910f
...
...
@@ -20,4 +20,7 @@
#
############################################################################
linphone_builder_add_autotools_project
(
xml2
)
set
(
EP_xml2_GIT_REPOSITORY
"git://git.gnome.org/libxml2"
)
set
(
EP_xml2_GIT_TAG
"v2.8.0"
)
set
(
EP_xml2_AUTOTOOLS
"yes"
)
set
(
EP_xml2_CONFIGURE_OPTIONS
"--with-minimum --with-xpath --with-tree --with-schemas --with-reader --with-writer --enable-rebuild-docs=no"
)
cmake/LinphoneCMakeBuilder.cmake
View file @
efa9910f
...
...
@@ -156,37 +156,27 @@ macro(linphone_builder_set_ep_directories PROJNAME)
endif
()
endmacro
(
linphone_builder_set_ep_directories
)
macro
(
linphone_builder_add_
cmake_
project PROJNAME
)
macro
(
linphone_builder_add_project PROJNAME
)
linphone_builder_set_ep_directories
(
${
PROJNAME
}
)
linphone_builder_apply_extra_flags
(
"
${
EP_
${
PROJNAME
}
_EXTRA_CFLAGS
}
"
"
${
EP_
${
PROJNAME
}
_EXTRA_CXXFLAGS
}
"
"
${
EP_
${
PROJNAME
}
_EXTRA_LDFLAGS
}
"
)
linphone_builder_expand_external_project_vars
()
if
(
NOT
"
${
EP_
${
PROJNAME
}
_URL
}
"
STREQUAL
""
)
set
(
DOWNLOAD_SOURCE URL
${
EP_
${
PROJNAME
}
_URL
}
)
else
(
NOT
"
${
EP_
${
PROJNAME
}
_URL
}
"
STREQUAL
""
)
set
(
DOWNLOAD_SOURCE GIT_REPOSITORY
${
EP_
${
PROJNAME
}
_GIT_REPOSITORY
}
GIT_TAG
${
EP_
${
PROJNAME
}
_GIT_TAG
}
)
endif
(
NOT
"
${
EP_
${
PROJNAME
}
_URL
}
"
STREQUAL
""
)
ExternalProject_Add
(
EP_
${
PROJNAME
}
DEPENDS
${
EP_
${
PROJNAME
}
_DEPENDENCIES
}
TMP_DIR
${
ep_tmp
}
BINARY_DIR
${
ep_build
}
${
DOWNLOAD_SOURCE
}
PATCH_COMMAND
${
EP_
${
PROJNAME
}
_PATCH_COMMAND
}
CMAKE_GENERATOR
${
CMAKE_GENERATOR
}
CMAKE_ARGS
${
EP_
${
PROJNAME
}
_CMAKE_OPTIONS
}
CMAKE_CACHE_ARGS
${
LINPHONE_BUILDER_EP_ARGS
}
)
endmacro
(
linphone_builder_add_cmake_project
)
macro
(
linphone_builder_add_autotools_project PROJNAME
)
linphone_builder_set_ep_directories
(
${
PROJNAME
}
)
linphone_builder_apply_extra_flags
(
"
${
EP_
${
PROJNAME
}
_EXTRA_CFLAGS
}
"
"
${
EP_
${
PROJNAME
}
_EXTRA_CXXFLAGS
}
"
"
${
EP_
${
PROJNAME
}
_EXTRA_LDFLAGS
}
"
)
linphone_builder_expand_external_project_vars
()
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/
${
PROJNAME
}
/configure.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_configure.sh
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/
${
PROJNAME
}
/build.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_build.sh
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/
${
PROJNAME
}
/install.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_install.sh
)
if
(
"
${
EP_
${
PROJNAME
}
_AUTOTOOLS
}
"
STREQUAL
"yes"
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/
${
PROJNAME
}
/configure.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_configure.sh
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/
${
PROJNAME
}
/build.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_build.sh
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/builders/
${
PROJNAME
}
/install.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_install.sh
)
set
(
BUILD_COMMANDS
CONFIGURE_COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_configure.sh
BUILD_COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_build.sh
INSTALL_COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_install.sh
)
else
(
"
${
EP_
${
PROJNAME
}
_AUTOTOOLS
}
"
STREQUAL
"yes"
)
set
(
BUILD_COMMANDS
CMAKE_ARGS
${
EP_
${
PROJNAME
}
_CMAKE_OPTIONS
}
CMAKE_CACHE_ARGS
${
LINPHONE_BUILDER_EP_ARGS
}
)
endif
(
"
${
EP_
${
PROJNAME
}
_AUTOTOOLS
}
"
STREQUAL
"yes"
)
if
(
NOT
"
${
EP_
${
PROJNAME
}
_URL
}
"
STREQUAL
""
)
set
(
DOWNLOAD_SOURCE URL
${
EP_
${
PROJNAME
}
_URL
}
)
...
...
@@ -201,8 +191,12 @@ macro(linphone_builder_add_autotools_project PROJNAME)
${
DOWNLOAD_SOURCE
}
PATCH_COMMAND
${
EP_
${
PROJNAME
}
_PATCH_COMMAND
}
CMAKE_GENERATOR
${
CMAKE_GENERATOR
}
CONFIGURE_COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_configure.sh
BUILD_COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_build.sh
INSTALL_COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_install.sh
${
BUILD_COMMANDS
}
)
endmacro
(
linphone_builder_add_autotools_project PROJNAME
)
endmacro
(
linphone_builder_add_project
)
macro
(
linphone_builder_add_external_projects
)
foreach
(
BUILDER
${
LINPHONE_BUILDER_BUILDERS
}
)
linphone_builder_add_project
(
${
BUILDER
}
)
endforeach
(
BUILDER
)
endmacro
(
linphone_builder_add_external_projects
)
configs/config-bb10-arm.cmake
View file @
efa9910f
...
...
@@ -31,4 +31,4 @@ list(APPEND EP_speex_CMAKE_OPTIONS
)
# opus
set
(
EP_opus_CONFIGURE_OPTIONS
"
${
EP_opus_CONFIGURE_OPTIONS
}
--enable-fixed-point"
)
\ No newline at end of file
set
(
EP_opus_CONFIGURE_OPTIONS
"
${
EP_opus_CONFIGURE_OPTIONS
}
--enable-fixed-point"
)
configs/config-bb10.cmake
View file @
efa9910f
...
...
@@ -39,8 +39,9 @@ set(DEFAULT_VALUE_ENABLE_X264 OFF)
set
(
DEFAULT_VALUE_ENABLE_TUNNEL OFF
)
set
(
DEFAULT_VALUE_ENABLE_UNIT_TESTS ON
)
# Include default configuration
include
(
configs/config-default.cmake
)
# Include builders
include
(
builders/CMakeLists.txt
)
set
(
AUTOTOOLS_SHARED_LIBRARIES
"--disable-static --enable-shared"
)
...
...
@@ -79,4 +80,4 @@ set(EP_ortp_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_ortp_CONFIGURE
set
(
EP_ms2_CONFIGURE_OPTIONS
"
${
AUTOTOOLS_SHARED_LIBRARIES
}
${
EP_ms2_CONFIGURE_OPTIONS
}
--disable-nls --disable-theora --disable-sdl --disable-x11 --disable-video --disable-alsa --enable-qsa --enable-relativeprefix=yes"
)
# linphone
set
(
EP_linphone_CONFIGURE_OPTIONS
"
${
AUTOTOOLS_SHARED_LIBRARIES
}
${
EP_linphone_CONFIGURE_OPTIONS
}
--disable-nls --with-readline=none --enable-gtk_ui=no --enable-console_ui=
no
--disable-x11 --disable-tutorials --disable-tools --disable-msg-storage --disable-video --disable-alsa --enable-relativeprefix=yes"
)
set
(
EP_linphone_CONFIGURE_OPTIONS
"
${
AUTOTOOLS_SHARED_LIBRARIES
}
${
EP_linphone_CONFIGURE_OPTIONS
}
--disable-nls --with-readline=none --enable-gtk_ui=no --enable-console_ui=
yes
--disable-x11 --disable-tutorials --disable-tools --disable-msg-storage --disable-video --disable-alsa --enable-relativeprefix=yes"
)
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment