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
c9bbc7f0
Commit
c9bbc7f0
authored
Oct 20, 2015
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify prepare.py.
parent
1e144dd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
prepare.py
prepare.py
+3
-7
No files found.
prepare.py
View file @
c9bbc7f0
...
...
@@ -47,6 +47,7 @@ class DesktopTarget(prepare.Target):
current_path
=
current_path
.
replace
(
'
\\
'
,
'/'
)
self
.
config_file
=
'configs/config-desktop.cmake'
self
.
additional_args
=
[
'-DCMAKE_INSTALL_MESSAGE=LAZY'
,
'-DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH='
+
current_path
+
'/submodules'
]
...
...
@@ -62,6 +63,7 @@ class PythonTarget(prepare.Target):
if
platform
.
system
()
==
'Windows'
:
self
.
generator
=
'Visual Studio 9 2008'
self
.
additional_args
=
[
'-DCMAKE_INSTALL_MESSAGE=LAZY'
,
'-DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH='
+
current_path
+
'/submodules'
]
...
...
@@ -75,6 +77,7 @@ class PythonRaspberryTarget(prepare.Target):
self
.
config_file
=
'configs/config-python-raspberry.cmake'
self
.
toolchain_file
=
'toolchains/toolchain-raspberry.cmake'
self
.
additional_args
=
[
'-DCMAKE_INSTALL_MESSAGE=LAZY'
,
'-DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH='
+
current_path
+
'/submodules'
]
...
...
@@ -105,12 +108,6 @@ def generate_makefile(generator):
build:
\t
{generator} WORK/cmake
WORK/build.done:
\t
{generator} WORK/cmake && touch WORK/build.done
dev: WORK/build.done
\t
{generator} WORK/Build/linphone_builder install
all: build
pull-transifex:
...
...
@@ -130,7 +127,6 @@ help: help-prepare-options
\t
@echo "Available targets:"
\t
@echo ""
\t
@echo " * all, build : normal build"
\t
@echo " * dev : build only linphone related source code (used for development)"
\t
@echo ""
"""
.
format
(
options
=
' '
.
join
(
sys
.
argv
),
generator
=
generator
)
f
=
open
(
'Makefile'
,
'w'
)
...
...
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