diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-12-16 19:35:34 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-12-16 19:35:34 +0200 |
commit | 83c12edde9b37f46680209123cf301442706a7e7 (patch) | |
tree | acf22ad23ecca33f842893fc161193220ef96a48 /docs/markdown/snippets | |
parent | c208e81e1a47b54a1efb536e164b06275ddd7cd9 (diff) | |
download | meson-endmessage.tar.gz |
Add end_message to print status messages on successfull exit.endmessage
Diffstat (limited to 'docs/markdown/snippets')
-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 +``` |