diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-16 22:22:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 22:22:02 +0300 |
commit | 0e00470d8c9711e62848a1d697d156cbab66e0bc (patch) | |
tree | 192047ead98b0c212f5b6b5b730f3f7d9ed87157 /docs/markdown/Reference-manual.md | |
parent | 5e45f4c621f14176478e3160e2bb3c6c77796b41 (diff) | |
parent | 6cdd14fc4eca8bddd4716ab5a9ebf09476846e6b (diff) | |
download | meson-0e00470d8c9711e62848a1d697d156cbab66e0bc.zip meson-0e00470d8c9711e62848a1d697d156cbab66e0bc.tar.gz meson-0e00470d8c9711e62848a1d697d156cbab66e0bc.tar.bz2 |
Merge pull request #3218 from mesonbuild/findoverrider
Make it possible to override find_program [skip ci]
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index da4c92b..fad6a3c 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1396,6 +1396,13 @@ the following methods. /path/to/meson.py introspect`. The user is responsible for splitting the string to an array if needed. +- `override_find_program(progname, program)` [*(Added + 0.46.0)*](Release-notes-for-0-46-0.html#Can-override-find_program) + specifies that whenever `find_program` is used to find a program + named `progname`, Meson should not not look it up on the system but + instead return `program`, which may either be the result of + `find_program` or `configure_file`. + - `project_version()` returns the version string specified in `project` function call. - `project_license()` returns the array of licenses specified in `project` function call. |