diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-01-07 19:32:34 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-01-07 22:12:25 +0200 |
| commit | 8d576eba9190f311e845f08ce822972b34c4e973 (patch) | |
| tree | d7add41a3b2d463f89be86577f3ba8503663f521 /docs/markdown/snippets/summary.md | |
| parent | a1d2444e4aac7df1a7f5d36246f64ea0564d38a4 (diff) | |
| download | meson-8d576eba9190f311e845f08ce822972b34c4e973.tar.gz | |
Prepare new release.
Diffstat (limited to 'docs/markdown/snippets/summary.md')
| -rw-r--r-- | docs/markdown/snippets/summary.md | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/markdown/snippets/summary.md b/docs/markdown/snippets/summary.md deleted file mode 100644 index 91b3e5d74..000000000 --- a/docs/markdown/snippets/summary.md +++ /dev/null @@ -1,37 +0,0 @@ -## Add a new summary() function - -A new function [`summary()`](Reference-manual.md#summary) has been added to -summarize build configuration at the end of the build process. - -Example: -```meson -project('My Project', version : '1.0') -summary({'bindir': get_option('bindir'), - 'libdir': get_option('libdir'), - 'datadir': get_option('datadir'), - }, section: 'Directories') -summary({'Some boolean': false, - 'Another boolean': true, - 'Some string': 'Hello World', - 'A list': ['string', 1, true], - }, section: 'Configuration') -``` - -Output: -``` -My Project 1.0 - - Directories - prefix: /opt/gnome - bindir: bin - libdir: lib/x86_64-linux-gnu - datadir: share - - Configuration - Some boolean: False - Another boolean: True - Some string: Hello World - A list: string - 1 - True -``` |
