diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-28 22:01:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 22:01:00 +0200 |
commit | 746e70c0da73c3d20cb4456a8111355ad2202522 (patch) | |
tree | d9b6277bbabebd0d0f8fef8fb09a10f8f265b6b7 /docs/markdown/snippets | |
parent | 8a1a866c68dc432c4576221fdaf377490dba4925 (diff) | |
parent | a52c22dc0678c4f2d91a20016277e9880935ca5c (diff) | |
download | meson-746e70c0da73c3d20cb4456a8111355ad2202522.zip meson-746e70c0da73c3d20cb4456a8111355ad2202522.tar.gz meson-746e70c0da73c3d20cb4456a8111355ad2202522.tar.bz2 |
Merge pull request #2512 from dcbaker/wip/config-tool-variables
Add method to get values from config tool based dependency
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') +``` |