]> git.proxmox.com Git - mirror_qemu.git/commit - meson_options.txt
meson-buildoptions: add support for string options
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Apr 2022 15:33:48 +0000 (17:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 May 2022 05:46:58 +0000 (07:46 +0200)
commit119fc611eac96d5ad5c407860b29c0fd5d072f6d
tree81cb0b13706c97b13254d7680d1f8dc55bc7dc4d
parentf780a3f4808fa5ba9b822d299ae40a12d23eae6c
meson-buildoptions: add support for string options

Allow using the buildoptions.json file for more options, namely anything
that is not a boolean or multiple-choice.

The mapping between configure and meson is messy for string options,
so allow configure to use to something other than the name in
meson_options.txt.  This will come in handy anyway for builtin
Meson options such as b_lto or b_coverage.

Tested-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson_options.txt
scripts/meson-buildoptions.py
scripts/meson-buildoptions.sh