summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/find_program.yaml
AgeCommit message (Collapse)Author
2024-06-23find_program: add a kwarg to specify custom version argumentDudemanguy
When trying to get the version of a program, meson was previously hardcoded to run the binary with `--version`. This does work with the vast majority of programs, but there are a few outliers (e.g. ffmpeg) which have an unusual argument for printing out the version. Support these programs by introducing a version_argument kwarg in find_program which allows users to override `--version` with whatever the custom argument for printing the version may be for the program.
2024-02-18doc: fix descriptions of dependency and find_programEisuke Kawashima
They accept list as documented
2023-08-04Add default_options argument to find_program()Nomura
2023-06-06Override find_program('meson')Tristan Partin
This override transparently upgrades anyone using it to this better functionality. Fixes #8511
2022-03-31docs: note that find_program accepts file objectsEli Schwartz
This was implemented in commit 280346da3ac5904ec097afe89ef45ad34bd4a173 but never properly documented (it predated the version-controlled docs).
2022-01-29docs: find_program can return the current Python3 interpreterAndrea Pappacoda
This was the case since 067ff7eeae26eda8edc9f7f7432f551c3e373eaa, i.e. version 0.50.0. Fixes #3856
2021-11-05Fix markdown formating in find_program.yamlrusty-snake
fixes #9528
2021-10-03docs: Add the YAML Reference manualDaniel Mensinger