aedi: support options in meson base target

This commit is contained in:
alexey.lysiuk 2023-03-28 13:25:02 +03:00
parent 679396ec34
commit 22df46033f

View file

@ -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):