From c9cd235af4b58b169c30fa497f0adae4e69c5f4c Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 25 May 2020 10:25:50 +0200 Subject: opts: added docs --- docs/markdown/snippets/options_string_concat.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/markdown/snippets/options_string_concat.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/options_string_concat.md b/docs/markdown/snippets/options_string_concat.md new file mode 100644 index 0000000..0fbf0f4 --- /dev/null +++ b/docs/markdown/snippets/options_string_concat.md @@ -0,0 +1,14 @@ +## String concatenation in meson_options.txt + +It is now possible to use string concatenation (with the `+` opperator) in the +meson_options.txt file. This allows splitting long option descriptions. + +```meson +option( + 'testoption', + type : 'string', + value : 'optval', + description : 'An option with a very long description' + + 'that does something in a specific context' +) +``` -- cgit v1.1