Skip to content

Commit

Permalink
docs: add documentation for config_tool variable method
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Oct 25, 2017
1 parent d4e223d commit 80d6054
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/markdown/snippets/config-tool-variable-method.md
Original file line number Diff line number Diff line change
@@ -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')
```

0 comments on commit 80d6054

Please sign in to comment.