mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
aedi: support options in meson base target
This commit is contained in:
parent
679396ec34
commit
22df46033f
1 changed files with 4 additions and 2 deletions
|
@ -545,7 +545,7 @@ cpu = '{cpu}'
|
||||||
endian = 'little'
|
endian = 'little'
|
||||||
''')
|
''')
|
||||||
|
|
||||||
args = (
|
args = [
|
||||||
state.bin_path / 'meson',
|
state.bin_path / 'meson',
|
||||||
'setup',
|
'setup',
|
||||||
f'--prefix={state.install_path}',
|
f'--prefix={state.install_path}',
|
||||||
|
@ -554,7 +554,9 @@ endian = 'little'
|
||||||
f'--cross-file={cross_file}',
|
f'--cross-file={cross_file}',
|
||||||
state.build_path,
|
state.build_path,
|
||||||
state.source
|
state.source
|
||||||
)
|
]
|
||||||
|
args += state.options.to_list(CommandLineOptions.CMAKE_RULES)
|
||||||
|
|
||||||
subprocess.run(args, check=True, cwd=state.build_path, env=state.environment)
|
subprocess.run(args, check=True, cwd=state.build_path, env=state.environment)
|
||||||
|
|
||||||
def build(self, state: BuildState):
|
def build(self, state: BuildState):
|
||||||
|
|
Loading…
Reference in a new issue