jobextra/meson/meson-reference-1.0.0.json

1 line
494 KiB
JSON
Raw Normal View History

2022-12-25 12:28:02 +01:00
{"version_major": 1, "version_minor": 1, "meson_version": "1.0.0", "functions": {"add_global_arguments": {"name": "add_global_arguments", "description": "Adds global arguments to the compiler command line.", "since": null, "deprecated": null, "notes": ["Usually you should use [[add_project_arguments]] instead, because that works even when you project is used as a subproject.", "You must pass always arguments individually `arg1, arg2, ...` rather than as a string `'arg1 arg2', ...`"], "warnings": [], "example": null, "returns": [{"obj": "void", "holds": []}], "returns_str": "void", "posargs": {}, "optargs": {}, "kwargs": {"language": {"name": "language", "description": "Specifies the language(s) that the arguments should be\napplied to. If a list of languages is given, the arguments are added\nto each of the corresponding compiler command lines. Note that there\nis no way to remove an argument set in this way. If you have an\nargument that is only used in a subset of targets, you have to specify\nit in per-target flags.\n", "since": null, "deprecated": null, "type": [{"obj": "list", "holds": [{"obj": "str", "holds": []}]}], "type_str": "list[str]", "required": true, "default": "", "min_varargs": null, "max_varargs": null, "notes": [], "warnings": []}, "native": {"name": "native", "description": "A boolean specifying whether the arguments should be\napplied to the native or cross compilation. If `true` the arguments\nwill only be used for native compilations. If `false` the arguments\nwill only be used in cross compilations. If omitted, the flags are\nadded to native compilations if compiling natively and cross\ncompilations (only) when cross compiling.\n", "since": "0.48.0", "deprecated": null, "type": [{"obj": "bool", "holds": []}], "type_str": "bool", "required": false, "default": "false", "min_varargs": null, "max_varargs": null, "notes": [], "warnings": []}}, "varargs": {"name": "Compiler argument", "description": "The compiler arguments to add", "since": null, "deprecated": null, "type": [{"obj": "str", "holds": []}], "type_str": "str", "required": false, "default": null, "min_varargs": null, "max_varargs": null, "notes": [], "warnings": []}, "arg_flattening": true}, "add_global_link_arguments": {"name": "add_global_link_arguments", "description": "Adds global arguments to the linker command line.\n\nLike [[add_global_arguments]] but the arguments are passed to the linker.", "since": null, "deprecated": null, "notes": ["Usually you should use [[add_project_link_arguments]] instead, because that works even when you project is used as a subproject.", "You must pass always arguments individually `arg1, arg2, ...` rather than as a string `'arg1 arg2', ...`"], "warnings": [], "example": null, "returns": [{"obj": "void", "holds": []}], "returns_str": "void", "posargs": {}, "optargs": {}, "kwargs": {"language": {"name": "language", "description": "Specifies the language(s) that the arguments should be\napplied to. If a list of languages is given, the arguments are added\nto each of the corresponding compiler command lines. Note that there\nis no way to remove an argument set in this way. If you have an\nargument that is only used in a subset of targets, you have to specify\nit in per-target flags.\n", "since": null, "deprecated": null, "type": [{"obj": "list", "holds": [{"obj": "str", "holds": []}]}], "type_str": "list[str]", "required": true, "default": "", "min_varargs": null, "max_varargs": null, "notes": [], "warnings": []}, "native": {"name": "native", "description": "A boolean specifying whether the arguments should be\napplied to the native or cross compilation. If `true` the arguments\nwill only be used for native compilations. If `false` the arguments\nwill only be used in cross compilations. If omitted, the flags are\nadded to native compilations if compiling natively and cross\ncompilations (only) when cross compiling.\n", "since": "0.48.0", "deprecated": null, "type": [{"obj": "bool", "holds": []}], "type_str": "bool", "required": false, "default": "false", "min_varargs": null, "max_varargs": null, "notes": [],