meson-buildoptions: document the data at the top
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e20d68aa0b
commit
79fccf7e2b
@ -25,11 +25,15 @@ import textwrap
|
|||||||
import shlex
|
import shlex
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
# Options with nonstandard names (e.g. --with/--without) or OS-dependent
|
||||||
|
# defaults. Try not to add any.
|
||||||
SKIP_OPTIONS = {
|
SKIP_OPTIONS = {
|
||||||
"default_devices",
|
"default_devices",
|
||||||
"fuzzing_engine",
|
"fuzzing_engine",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Options whose name doesn't match the option for backwards compatibility
|
||||||
|
# reasons, because Meson gives them a funny name, or both
|
||||||
OPTION_NAMES = {
|
OPTION_NAMES = {
|
||||||
"b_coverage": "gcov",
|
"b_coverage": "gcov",
|
||||||
"b_lto": "lto",
|
"b_lto": "lto",
|
||||||
@ -49,6 +53,10 @@ AUTO_OPTIONS = {
|
|||||||
"werror",
|
"werror",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Builtin options that should be definable via configure. Some of the others
|
||||||
|
# we really do not want (e.g. c_args is defined via the native file, not
|
||||||
|
# via -D, because it's a mix of CFLAGS and --extra-cflags); for specific
|
||||||
|
# cases "../configure -D" can be used as an escape hatch.
|
||||||
BUILTIN_OPTIONS = {
|
BUILTIN_OPTIONS = {
|
||||||
"b_coverage",
|
"b_coverage",
|
||||||
"b_lto",
|
"b_lto",
|
||||||
|
Loading…
Reference in New Issue
Block a user