summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/options_string_concat.md
blob: 0fbf0f4b95f0fe46fb6262addbed24e71fb946e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'
)
```