diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-03 21:30:44 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-03 22:39:41 +0200 |
commit | e9ed8cf198616c557d6125063b335bbd812dda60 (patch) | |
tree | 2a63f8a069ee6f2040d192929131ad62bb07698e /docs/markdown/snippets | |
parent | f25070ec089719a607c545c1b44a678c6bbce5c9 (diff) | |
download | meson-intoption.tar.gz |
Expose integer options to build option files.intoption
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/intopt.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/intopt.md b/docs/markdown/snippets/intopt.md new file mode 100644 index 000000000..daf660b0d --- /dev/null +++ b/docs/markdown/snippets/intopt.md @@ -0,0 +1,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) |