summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/intopt.md
blob: daf660b0d07376ac1558e343517b8424afc070a3 (plain)
1
2
3
4
5
6
## Integer options

There is a new integer option type with optional minimum and maximum
values. It can be specified like this in the `meson_options.txt` file:

    option('integer_option', type : 'integer', min : 0, max : 5, value : 3)