diff options
| author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-05-23 17:04:30 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-09-29 19:22:50 +0300 |
| commit | ff186b05261210602490ea4764e5ccfa2ec494fc (patch) | |
| tree | ddab6cefcf4fdbc97831bea4dfe83175c5dd8099 /docs/markdown/Reference-manual.md | |
| parent | be2598a4e208860762b081e8398f6abbf6158a1c (diff) | |
| download | meson-ff186b05261210602490ea4764e5ccfa2ec494fc.tar.gz | |
Improve documentation about using shell in custom_target() [skip ci]
Add a note about the portability of using shell constructs in the
custom_target() command.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
| -rw-r--r-- | docs/markdown/Reference-manual.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index c28939739..1d0bb9284 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -397,6 +397,10 @@ the following special string substitutions: The returned object also has methods that are documented in the [object methods section](#custom-target-object) below. +**Note:** Assuming that `command:` is executed by a POSIX `sh` shell is not +portable, notably to Windows. Instead, consider using a `native: true` +[executable()](#executable), or a python script. + ### declare_dependency() ``` meson |
