diff options
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/feature_options.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/feature_options.md b/docs/markdown/snippets/feature_options.md new file mode 100644 index 0000000..22d9201 --- /dev/null +++ b/docs/markdown/snippets/feature_options.md @@ -0,0 +1,10 @@ +## New feature option type + +A new type of option can be defined in `meson_options.txt` for the traditional +`enabled / disabled / auto` tristate. The value of this option can be passed to +the `required` keyword argument of functions `dependency()`, `find_library()`, +`find_program()` and `add_languages()`. + +A new global option `auto_features` has been added to override the value of all +`auto` features. It is intended to be used by packagers to have full control on +which feature must be enabled or disabled. |