From 0204895143d4aacf143be952f962dc47e415c187 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 3 Feb 2018 21:30:44 +0200 Subject: Expose integer options to build option files. --- docs/markdown/snippets/intopt.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/markdown/snippets/intopt.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/intopt.md b/docs/markdown/snippets/intopt.md new file mode 100644 index 0000000..daf660b --- /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) -- cgit v1.1