subprojects/meson-docs/docs/yaml/functions/set_variable.yaml
raw| 1 | name: set_variable |
| 2 | returns: void |
| 3 | description: | |
| 4 | Assigns a value to the given variable name. Calling |
| 5 | `set_variable('foo', bar)` is equivalent to `foo = bar`. |
| 6 | |
| 7 | *(since 0.46.1)* The `value` parameter can be an array type. |
| 8 | |
| 9 | arg_flattening: false |
| 10 | |
| 11 | posargs: |
| 12 | variable_name: |
| 13 | type: str |
| 14 | description: The name of the variable to set |
| 15 | |
| 16 | value: |
| 17 | type: any |
| 18 | description: The value to set the variable to |