summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/project.yaml
AgeCommit message (Collapse)Author
2025-07-22Docs: standardize between list and array as arrayDylan Baker
When arrays were added they were called arrays. Because the are implemented with Python lists, that language started leaking into talking about Meson types. This is confusing. I've attempted, as much as possible, to move to using one name, array. I picked array because 1) It's the original name used, and 2) what Meson has are more properly arrays as they have a fixed length, while a critical property of lists are the ability to link and unlink them. There are a couple of places where the list language has leaked into the names of keyword arguments. I have not made any attempt to change those, I don't know if it's that useful or not.
2025-07-14docs: document missing languages in project()meator
2025-07-07docs: update project(default_options: ...) for 1.8 changesPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-06-20interpreter: Accept more types in default_options dict valuesXavier Claessens
2023-06-20interpreter: allow default_options and override_options as a dictDylan Baker
2023-04-11fix various spelling issuesJosh Soref
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-01docs: document default_options behaviourJohn Levon
As discussed in issue #8037, using `c_args` in `project()` leads to `CFLAGS` not being respected, which is a common mistake. Document this and suggest using `add_project_arguments()` instead. Signed-off-by: John Levon <levon@movementarian.org>
2023-03-01docs: fix a small typoJohn Levon
s/Accecpts/Accepts/ Signed-off-by: John Levon <levon@movementarian.org>
2023-02-15docs: add description of license_files kwargEli Schwartz
Added in commit 2fa074917597fea0cf3332c6620d3414034825e4 but I forgot to document it.
2023-02-10docs: Add cython to the languages accepted by project()Daniele Nicolodi
Fixes #11373.
2022-02-03docs: strongly recommend the use of SPDX instead of array of licenseDylan Baker
The array of licenses is not clear, where and SPDX expression using AND and OR is very clear, take for example this: `['Apache', 'GPLv2']`. What does that mean? Any Apache license you like and GPLv2? Using a valid SPDX license identifier however makes it extremely clear what is meant: `'Apache-2.0 OR GPL-2.0-only'`. It is very clear that you mean, "this is Apache 2.0, however, you can use as GPL-2.0 for the purpose of linking it into your GPL-2.0 project".
2021-10-03docs: Add the YAML Reference manualDaniel Mensinger