@@ -3913,14 +3913,16 @@ foreach target : target_dirs
'name': 'qemu-system-' + target_name,
'win_subsystem': 'console',
'sources': files('system/main.c'),
- 'dependencies': []
+ 'dependencies': [],
+ 'install': true
}]
if host_os == 'windows' and (sdl.found() or gtk.found())
execs += [{
'name': 'qemu-system-' + target_name + 'w',
'win_subsystem': 'windows',
'sources': files('system/main.c'),
- 'dependencies': []
+ 'dependencies': [],
+ 'install': true
}]
endif
if get_option('fuzzing')
@@ -3930,6 +3932,7 @@ foreach target : target_dirs
'win_subsystem': 'console',
'sources': specific_fuzz.sources(),
'dependencies': specific_fuzz.dependencies(),
+ 'install': true
}]
endif
else
@@ -3937,7 +3940,8 @@ foreach target : target_dirs
'name': 'qemu-' + target_name,
'win_subsystem': 'console',
'sources': [],
- 'dependencies': []
+ 'dependencies': [],
+ 'install': true
}]
endif
foreach exe: execs
@@ -3947,7 +3951,7 @@ foreach target : target_dirs
endif
emulator = executable(exe_name, exe['sources'],
- install: true,
+ install: exe['install'],
c_args: c_args,
dependencies: arch_deps + deps + exe['dependencies'],
objects: lib.extract_all_objects(recursive: true),
In order to allow qemu-system binaries to not be installed by default, add the 'install' key to target dictionaries in the execs[] array. Keep the current default: all binaries are installed. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- meson.build | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)