diff options
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 2fc3d6a..477790b 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2188,6 +2188,14 @@ an external dependency with the following methods: - includes: any include_directories - sources: any compiled or static sources the dependency has + - `get_variable(cmake : str, pkgconfig : str, configtool : str, + default_value : str, pkgconfig_define : [str, str]) *(Added in 0.51.0)* A + generic variable getter method, which repalces the get_*type*_variable + methods. This allows one to get the variable from a dependency without + knowing specifically how that dependency was found. If default_value is set and + the value cannot be gotten from the object then default_value is returned, + if it is not set then an error is raised. + ### `disabler` object A disabler object is an object that behaves in much the same way as |