diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-10-25 10:26:07 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-11-23 20:06:23 -0800 |
commit | a52c22dc0678c4f2d91a20016277e9880935ca5c (patch) | |
tree | 1339daf2dbdfdcc206f63d3d5ff3dc10b26fc5ad /docs/markdown/snippets | |
parent | e95628306dc1364ceaffed85f7fb36d312c0f13e (diff) | |
download | meson-a52c22dc0678c4f2d91a20016277e9880935ca5c.zip meson-a52c22dc0678c4f2d91a20016277e9880935ca5c.tar.gz meson-a52c22dc0678c4f2d91a20016277e9880935ca5c.tar.bz2 |
docs: add documentation for config_tool variable method
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/config-tool-variable-method.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/config-tool-variable-method.md b/docs/markdown/snippets/config-tool-variable-method.md new file mode 100644 index 0000000..7725982 --- /dev/null +++ b/docs/markdown/snippets/config-tool-variable-method.md @@ -0,0 +1,11 @@ +# Config-Tool based dependencies gained a method to get arbitrary options + +A number of dependencies (CUPS, LLVM, pcap, WxWidgets, GnuStep) use a config +tool instead of pkg-config. As of this version they now have a +`get_configtool_variable` method, which is analogous to the +`get_pkgconfig_variable` for pkg config. + +```meson +dep_llvm = dependency('LLVM') +llvm_inc_dir = dep_llvm.get_configtool_variable('includedir') +``` |