diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-21 16:27:56 +0200 |
|---|---|---|
| committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-10-03 11:46:34 +0200 |
| commit | 2b482e39a90fa1929e0fa4006861f4264f28adb2 (patch) | |
| tree | 0af5ef229d25bef1b974445406fc3c9d28c0756f /docs/yaml/functions/add_project_arguments.yaml | |
| parent | ad65a699f93a7659739287882ca27c58c564670b (diff) | |
| download | meson-2b482e39a90fa1929e0fa4006861f4264f28adb2.tar.gz | |
docs: Add the YAML Reference manual
Diffstat (limited to 'docs/yaml/functions/add_project_arguments.yaml')
| -rw-r--r-- | docs/yaml/functions/add_project_arguments.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/yaml/functions/add_project_arguments.yaml b/docs/yaml/functions/add_project_arguments.yaml new file mode 100644 index 000000000..6b90e6840 --- /dev/null +++ b/docs/yaml/functions/add_project_arguments.yaml @@ -0,0 +1,19 @@ +name: add_project_arguments +returns: void +description: | + Adds project specific arguments to the compiler command line. + + This function behaves in the same way as [[add_global_arguments]] except + that the arguments are only used for the current project, they won't + be used in any other subproject. + +notes: + - You must pass always arguments individually `arg1, arg2, ...` + rather than as a string `'arg1 arg2', ...` + +varargs: + type: str + name: Compiler argument + description: The commpiler arguments to add + +kwargs_inherit: add_global_arguments |
