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
b2f71c3a
Commit
b2f71c3a
authored
Nov 17, 2016
by
Ghislain MARY
Browse files
Update python config.
parent
2d8bf966
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
configs/config-python-raspberry.cmake
configs/config-python-raspberry.cmake
+3
-3
configs/config-python.cmake
configs/config-python.cmake
+5
-5
No files found.
configs/config-python-raspberry.cmake
View file @
b2f71c3a
...
...
@@ -33,7 +33,7 @@ include("configs/config-python.cmake")
set
(
DEFAULT_VALUE_ENABLE_WASAPI OFF
)
# ffmpeg
set
(
EP_ffmpeg_CROSS_COMPILATION_OPTIONS
lcb_builder_cross_compilation_options
(
ffmpeg
"--prefix=
${
CMAKE_INSTALL_PREFIX
}
"
"--enable-cross-compile"
"--cross-prefix=arm-linux-gnueabihf-"
...
...
@@ -53,12 +53,12 @@ endif()
# vpx
if
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"armv7"
)
set
(
EP_vpx_CROSS_COMPILATION_OPTIONS
lcb_builder_cross_compilation_options
(
vpx
"--prefix=
${
CMAKE_INSTALL_PREFIX
}
"
"--target=armv7-linux-gcc"
)
else
()
set
(
EP_vpx_CROSS_COMPILATION_OPTIONS
lcb_builder_cross_compilation_options
(
vpx
"--prefix=
${
CMAKE_INSTALL_PREFIX
}
"
"--target=armv6-linux-gcc"
)
...
...
configs/config-python.cmake
View file @
b2f71c3a
...
...
@@ -77,7 +77,7 @@ include(builders/CMakeLists.txt)
lcb_builder_cmake_options
(
bctoolbox
"-DENABLE_TESTS_COMPONENT=NO"
)
# ffmpeg
set
(
EP_ffmpeg_LINKING_TYPE
"--disable-static"
"--enable-shared"
)
lcb_builder_linking_type
(
ffmpeg
"--disable-static"
"--enable-shared"
)
# linphone
lcb_builder_cmake_options
(
linphone
"-DENABLE_RELATIVE_PREFIX=YES"
)
...
...
@@ -90,7 +90,7 @@ lcb_builder_cmake_options(linphone "-DENABLE_UNIT_TESTS=NO")
lcb_builder_cmake_options
(
linphone
"-DENABLE_UPNP=NO"
)
# mbedtls
set
(
EP_mbedtls_LINKING_TYPE
"-DUSE_STATIC_MBEDTLS_LIBRARY=YES"
"-DUSE_SHARED_MBEDTLS_LIBRARY=NO"
)
lcb_builder_linking_type
(
mbedtls
"-DUSE_STATIC_MBEDTLS_LIBRARY=YES"
"-DUSE_SHARED_MBEDTLS_LIBRARY=NO"
)
# ms2
lcb_builder_cmake_options
(
ms2
"-DENABLE_RELATIVE_PREFIX=YES"
)
...
...
@@ -107,13 +107,13 @@ if(UNIX AND NOT APPLE)
endif
()
# polarssl
set
(
EP_polarssl_LINKING_TYPE
"-DUSE_SHARED_POLARSSL_LIBRARY=NO"
)
lcb_builder_linking_type
(
polarssl
"-DUSE_SHARED_POLARSSL_LIBRARY=NO"
)
# v4l
set
(
EP_v4l_LINKING_TYPE
"--enable-static"
"--disable-shared"
"--with-pic"
)
lcb_builder_linking_type
(
v4l
"--enable-static"
"--disable-shared"
"--with-pic"
)
# vpx
set
(
EP_vpx_LINKING_TYPE
"--enable-static"
"--disable-shared"
"--enable-pic"
)
lcb_builder_linking_type
(
vpx
"--enable-static"
"--disable-shared"
"--enable-pic"
)
# Add config step to build the Python module
...
...
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