docs: Added new static docs
This commit is contained in:
parent
239219220e
commit
af24d18842
|
@ -358,6 +358,14 @@ methods:
|
|||
Otherwise, the dependency is overwritten for the host machine, which
|
||||
differs from the build machine when cross-compiling.
|
||||
|
||||
static:
|
||||
type: bool
|
||||
since: 0.60.0
|
||||
description: |
|
||||
Used to override static and/or shared dependencies separately.
|
||||
If not specified it is assumed
|
||||
`dep_object` follows `default_library` option value.
|
||||
|
||||
- name: is_cross_build
|
||||
returns: bool
|
||||
description: Returns `true` if the current build is a [cross build](Cross-compilation.md) and `false` otherwise.
|
||||
|
|
|
@ -146,6 +146,9 @@ kwargs:
|
|||
libraries instead of dynamic ones (note that this is not supported
|
||||
by all dependency backends)
|
||||
|
||||
*Since 0.60.0* it also sets `default_library` option accordingly on the fallback
|
||||
subproject if it was not set explicitly in `default_options` keyword argument.
|
||||
|
||||
version:
|
||||
type: str
|
||||
since: 0.37.0
|
||||
|
|
Loading…
Reference in New Issue