aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/functions/find_program.yaml
diff options
context:
space:
mode:
authorTristan Partin <tristan@neon.tech>2023-06-05 09:30:37 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-06-06 10:07:36 -0400
commit58aa301accc2dc1f107c2e77b8187de94fb1bd0c (patch)
treef8a846a7388cad6aed20b7ce2cffc78b23dbe612 /docs/yaml/functions/find_program.yaml
parente20717ed8f9f746a233e2bd2b3018997a3f73799 (diff)
downloadmeson-58aa301accc2dc1f107c2e77b8187de94fb1bd0c.zip
meson-58aa301accc2dc1f107c2e77b8187de94fb1bd0c.tar.gz
meson-58aa301accc2dc1f107c2e77b8187de94fb1bd0c.tar.bz2
Override find_program('meson')
This override transparently upgrades anyone using it to this better functionality. Fixes #8511
Diffstat (limited to 'docs/yaml/functions/find_program.yaml')
-rw-r--r--docs/yaml/functions/find_program.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/yaml/functions/find_program.yaml b/docs/yaml/functions/find_program.yaml
index c0c13d2..537bbc5 100644
--- a/docs/yaml/functions/find_program.yaml
+++ b/docs/yaml/functions/find_program.yaml
@@ -42,6 +42,9 @@ description: |
setcap = find_program(['setcap', '/usr/sbin/setcap', '/sbin/setcap'], required : false)
```
+ *Since 1.2.0* `find_program('meson')` is automatically overridden to the Meson
+ command used to execute the build script.
+
The returned [[@external_program]] object also has documented methods.
posargs: