diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-07-12 17:25:51 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-07-12 17:25:51 +0300 |
| commit | d0c68dc11507a47b9b85de508e023d9590d60565 (patch) | |
| tree | 2a5ae49d56c098f46ed436b72bdb511accc52f97 /docs/markdown/snippets/find_program.md | |
| parent | d769b425f0b56779bad571fbf7145c8d2f7fecc9 (diff) | |
| download | meson-d0c68dc11507a47b9b85de508e023d9590d60565.tar.gz | |
Updated everything for release 0.55.0.
Diffstat (limited to 'docs/markdown/snippets/find_program.md')
| -rw-r--r-- | docs/markdown/snippets/find_program.md | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/markdown/snippets/find_program.md b/docs/markdown/snippets/find_program.md deleted file mode 100644 index d0bb64ddb..000000000 --- a/docs/markdown/snippets/find_program.md +++ /dev/null @@ -1,20 +0,0 @@ -## find_program: Fixes when the program has been overridden by executable - -When a program has been overridden by an executable, the returned object of -find_program() had some issues: - -```meson -# In a subproject: -exe = executable('foo', ...) -meson.override_find_program('foo', exe) - -# In main project: -# The version check was crashing meson. -prog = find_program('foo', version : '>=1.0') - -# This was crashing meson. -message(prog.path()) - -# New method to be consistent with built objects. -message(prog.full_path()) -``` |
