mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: preferred way to launch meson commands
* use setup command explicitly at configure step * invoke meson executable directly at every step
This commit is contained in:
parent
19ee55a995
commit
845f0fe19a
1 changed files with 4 additions and 2 deletions
|
@ -547,17 +547,19 @@ endian = 'little'
|
|||
|
||||
args = (
|
||||
state.bin_path / 'meson',
|
||||
'setup',
|
||||
f'--prefix={state.install_path}',
|
||||
'--buildtype=release',
|
||||
'--default-library=static',
|
||||
f'--cross-file={cross_file}',
|
||||
state.build_path,
|
||||
state.source
|
||||
)
|
||||
subprocess.run(args, check=True, cwd=state.build_path, env=state.environment)
|
||||
|
||||
def build(self, state: BuildState):
|
||||
args = ('ninja',)
|
||||
args = [state.bin_path / 'meson', 'compile']
|
||||
subprocess.run(args, check=True, cwd=state.build_path, env=state.environment)
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
self.install(state, tool='ninja')
|
||||
self.install(state, tool=state.bin_path / 'meson')
|
||||
|
|
Loading…
Reference in a new issue