Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
02316221
Commit
02316221
authored
4 years ago
by
Max Kellermann
Committed by
Max Kellermann
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build/python/cmake: add "windows_configure_args"
parent
937423db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
cmake.py
python/build/cmake.py
+6
-1
No files found.
python/build/cmake.py
View file @
02316221
...
@@ -29,14 +29,19 @@ def configure(toolchain, src, build, args=()):
...
@@ -29,14 +29,19 @@ def configure(toolchain, src, build, args=()):
class
CmakeProject
(
Project
):
class
CmakeProject
(
Project
):
def
__init__
(
self
,
url
,
md5
,
installed
,
configure_args
=
[],
def
__init__
(
self
,
url
,
md5
,
installed
,
configure_args
=
[],
windows_configure_args
=
[],
**
kwargs
):
**
kwargs
):
Project
.
__init__
(
self
,
url
,
md5
,
installed
,
**
kwargs
)
Project
.
__init__
(
self
,
url
,
md5
,
installed
,
**
kwargs
)
self
.
configure_args
=
configure_args
self
.
configure_args
=
configure_args
self
.
windows_configure_args
=
windows_configure_args
def
configure
(
self
,
toolchain
):
def
configure
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
)
src
=
self
.
unpack
(
toolchain
)
build
=
self
.
make_build_path
(
toolchain
)
build
=
self
.
make_build_path
(
toolchain
)
configure
(
toolchain
,
src
,
build
,
self
.
configure_args
)
configure_args
=
self
.
configure_args
if
toolchain
.
is_windows
:
configure_args
=
configure_args
+
self
.
windows_configure_args
configure
(
toolchain
,
src
,
build
,
configure_args
)
return
build
return
build
def
build
(
self
,
toolchain
):
def
build
(
self
,
toolchain
):
...
...
This diff is collapsed.
Click to expand it.
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