aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2018-01-17 15:26:15 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2018-01-31 23:54:28 +0200
commit36aca4cd3ca7631765ef32478e5c85d32db11fca (patch)
treea80ca5845e08b4679914f4ccf3b88f55e1bf6fdc /docs/markdown/Reference-manual.md
parentb62d670fb2a630e4ef75f8c9dcf6facc34d71043 (diff)
downloadmeson-36aca4cd3ca7631765ef32478e5c85d32db11fca.zip
meson-36aca4cd3ca7631765ef32478e5c85d32db11fca.tar.gz
meson-36aca4cd3ca7631765ef32478e5c85d32db11fca.tar.bz2
add meson.project_license() builtin
This Fixes #2941.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index a3e1ef0..31c4953 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -910,7 +910,8 @@ Project supports the following keyword arguments.
'GPL3']`. Note that the text is informal and is only written to
the dependency manifest. Meson does not do any license validation,
you are responsible for verifying that you abide by all licensing
- terms.
+ terms. You can access the value in your Meson build files with
+ `meson.project_license()`.
- `meson_version` takes a string describing which Meson version the
project requires. Usually something like `>0.28.0`.
@@ -1247,6 +1248,8 @@ the following methods.
- `project_version()` returns the version string specified in `project` function call.
+- `project_license()` returns the array of licenses specified in `project` function call.
+
- `project_name()` returns the project name specified in the `project` function call.
- `version()` return a string with the version of Meson.