diff options
Diffstat (limited to 'docs/markdown/snippets/end_messages.md')
-rw-r--r-- | docs/markdown/snippets/end_messages.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/markdown/snippets/end_messages.md b/docs/markdown/snippets/end_messages.md new file mode 100644 index 000000000..0b04c67f8 --- /dev/null +++ b/docs/markdown/snippets/end_messages.md @@ -0,0 +1,20 @@ +## New end_messages method + +The new `end_messages` function allows you to create status messages +that will be printed at the end of the Meson run rather than +immediately. For example the following setup: + +```meson +end_message('A short name:', 'value #1') +end_message('A bit longer name:', 'value #2') +``` + +Will cause the following text to be printed as the last thing just +before Meson exits. + +``` +Main project + +A short name: value #1 +A bit longer name: value #2 +``` |