Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
412b1af2
Commit
412b1af2
authored
Oct 07, 2015
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option to build only submodules + default to grouping external source path builders.
parent
edb78a54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
prepare.py
prepare.py
+17
-5
No files found.
prepare.py
View file @
412b1af2
...
@@ -175,22 +175,34 @@ def main(argv=None):
...
@@ -175,22 +175,34 @@ def main(argv=None):
'-L'
,
'--list-cmake-variables'
,
help
=
"List non-advanced CMake cache variables."
,
action
=
'store_true'
,
dest
=
'list_cmake_variables'
)
'-L'
,
'--list-cmake-variables'
,
help
=
"List non-advanced CMake cache variables."
,
action
=
'store_true'
,
dest
=
'list_cmake_variables'
)
argparser
.
add_argument
(
argparser
.
add_argument
(
'-m'
,
'--minimal'
,
help
=
"Build a minimal version of Linphone."
,
action
=
'store_true'
)
'-m'
,
'--minimal'
,
help
=
"Build a minimal version of Linphone."
,
action
=
'store_true'
)
argparser
.
add_argument
(
'-os'
,
'--only-submodules'
,
help
=
"Build only submodules (finding all dependencies on the system."
,
action
=
'store_true'
)
argparser
.
add_argument
(
argparser
.
add_argument
(
'-t'
,
'--tunnel'
,
help
=
"Enable Tunnel."
,
action
=
'store_true'
)
'-t'
,
'--tunnel'
,
help
=
"Enable Tunnel."
,
action
=
'store_true'
)
args
,
additional_args
=
argparser
.
parse_known_args
()
args
,
additional_args
=
argparser
.
parse_known_args
()
additional_args
+=
[
"-G"
,
args
.
generator
]
additional_args
+=
[
"-G"
,
args
.
generator
]
additional_args
+=
[
"-DLINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS=YES"
]
if
args
.
debug_verbose
:
if
args
.
debug_verbose
:
additional_args
+=
[
"-DENABLE_DEBUG_LOGS=YES"
]
additional_args
+=
[
"-DENABLE_DEBUG_LOGS=YES"
]
if
args
.
only_submodules
:
additional_args
+=
[
"-DLINPHONE_BUILDER_BUILD_ONLY_EXTERNAL_SOURCE_PATH=YES"
]
if
args
.
minimal
:
if
args
.
minimal
:
additional_args
=
[
"-DLINPHONE_BUILDER_BUILD_ONLY_EXTERNAL_SOURCE_PATH=YES"
,
additional_args
+=
[
"-DENABLE_VIDEO=NO"
,
"-DLINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS=YES"
,
"-DENABLE_MKV=NO"
,
"-DENABLE_MKV=NO"
,
"-DENABLE_GSM=NO"
,
"-DENABLE_ZRTP=NO"
,
"-DENABLE_ILBC=NO"
,
"-DENABLE_PACKAGING=NO"
]
+
additional_args
"-DENABLE_ISAC=NO"
,
"-DENABLE_OPUS=NO"
,
"-DENABLE_SILK=NO"
,
"-DENABLE_SPEEX=NO"
,
"-DENABLE_SRTP=NO"
,
"-DENABLE_ZRTP=NO"
,
"-DENABLE_PACKAGING=NO"
]
if
check_tools
()
!=
0
:
if
check_tools
()
!=
0
:
return
1
return
1
...
...
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