Skip to content

Commit

Permalink
docs: clarify prog.full_path even more
Browse files Browse the repository at this point in the history
The previous description update was lacking an example of why
external_program cares about inter-target dependencies.
  • Loading branch information
eli-schwartz committed Dec 1, 2022
1 parent dcc50b9 commit fae24d8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/yaml/objects/external_program.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ methods:
**NOTE:** You should not usually need to use this method. Passing the
object itself should work in most contexts where a program can appear,
and allows Meson to setup inter-target dependencies correctly. Only
use this if you specifically need a string, such as when embedding a
program path into a header file.
and allows Meson to setup inter-target dependencies correctly (for
example in cases where a program might be overridden by a [[build_tgt]]).
Only use this if you specifically need a string, such as when embedding
a program path into a header file.
For example:
Expand All @@ -43,9 +44,10 @@ methods:
**NOTE:** You should not usually need to use this method. Passing the
object itself should work in most contexts where a program can appear,
and allows Meson to setup inter-target dependencies correctly. Only
use this if you specifically need a string, such as when embedding a
program path into a header file.
and allows Meson to setup inter-target dependencies correctly (for
example in cases where a program might be overridden by a [[build_tgt]]).
Only use this if you specifically need a string, such as when embedding
a program path into a header file.
For example:
Expand Down

0 comments on commit fae24d8

Please sign in to comment.