Lines Matching +full:- +full:- +full:without +full:- +full:default +full:- +full:features

16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent
40 "coroutine_backend": "with-coroutine",
41 "debug": "debug-info",
42 "malloc": "enable-malloc",
43 "pkgversion": "with-pkgversion",
45 "qemu_suffix": "with-suffix",
46 "trace_backends": "enable-trace-backends",
47 "trace_file": "with-trace-file",
58 # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific
59 # cases "../configure -D" can be used as an escape hatch.
81 # Convert the default value of an option to the string used in
85 return 'system default'
135 # Return whether the option (a dictionary) can be used without
136 # arguments. Booleans can only be used without arguments;
165 return name.replace("_", "-")
173 return f"disable-{key}"
174 return f"enable-{key}"
194 left = f"--{key}={metavar}"
197 left = f"--{key}"
201 left = f"--{key}[=CHOICE]"
203 left = f"--{key}=CHOICE"
209 sh_print("Optional features, enabled with --enable-FEATURE and")
210 sh_print("disabled with --disable-FEATURE, default is enabled if available")
211 sh_print("(unless built with --without-default-features):")
227 print(f' --{key}=*) quote_sh "-D{name}=$(meson_option_build_array $2)" ;;')
229 print(f' --{key}=*) quote_sh "-D{name}=$2" ;;')
231 print(f' --enable-{key}) printf "%s" -D{name}=true ;;')
232 print(f' --disable-{key}) printf "%s" -D{name}=false ;;')
235 print(f' --enable-{key}) printf "%s" -D{name}=enabled ;;')
237 print(f' --disable-{key}) printf "%s" -D{name}=disabled ;;')
239 print(f' --enable-{key}=*) quote_sh "-D{name}=$2" ;;')
248 print("Failure in scripts/meson-buildoptions.py parsing stdin as json",
252 print("# This file is generated by meson-buildoptions.py, do not edit!")