aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2017-08-19 14:31:47 -0400
committerGitHub <noreply@github.com>2017-08-19 14:31:47 -0400
commit8a636052bd71dde2644890ad2263d2024ab9db76 (patch)
tree398548b25c2da7947f7c5168abf0e4cfb51e7f37 /docs/markdown
parent747c3af52ce68a93a042e39331b71c800a6ea24c (diff)
downloadmeson-8a636052bd71dde2644890ad2263d2024ab9db76.zip
meson-8a636052bd71dde2644890ad2263d2024ab9db76.tar.gz
meson-8a636052bd71dde2644890ad2263d2024ab9db76.tar.bz2
docs: Clarify project() no longer requires a language
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-manual.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 901535b..d3ac096 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -543,7 +543,7 @@ This function prints its argument to stdout.
void project(project_name, list_of_languages, ...)
```
-The first argument to this function must be a string defining the name of this project. It must be followed by one or more programming languages that the project uses. Supported values for languages are `c`, `cpp` (for `C++`), `objc`, `objcpp`, `fortran`, `java`, `cs` (for `C#`) and `vala`.
+The first argument to this function must be a string defining the name of this project. It is followed by programming languages that the project uses. Supported values for languages are `c`, `cpp` (for `C++`), `objc`, `objcpp`, `fortran`, `java`, `cs` (for `C#`) and `vala`. In versions before `0.40.0` you must have at least one language listed.
The project name can be any string you want, it's not used for anything except descriptive purposes. However since it is written to e.g. the dependency manifest is usually makes sense to have it be the same as the project tarball or pkg-config name. So for example you would probably want to use the name _libfoobar_ instead of _The Foobar Library_.