build/python/project: add build(), calls _build()
Prepare to add some code around the _build() call.
This commit is contained in:

committed by
Max Kellermann

parent
4f2f705dca
commit
6f278977e9
@ -53,7 +53,7 @@ class CmakeProject(Project):
|
||||
configure(toolchain, src, build, configure_args)
|
||||
return build
|
||||
|
||||
def build(self, toolchain):
|
||||
def _build(self, toolchain):
|
||||
build = self.configure(toolchain)
|
||||
subprocess.check_call(['ninja', 'install'],
|
||||
cwd=build, env=toolchain.env)
|
||||
|
Reference in New Issue
Block a user