summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/compiler_method_internal_deps.md
blob: bde6b4fc4ed91f928c8a9bf2b34a7dcbe4c5cce6 (plain)
1
2
3
4
5
6
## Passing internal dependencies to the compiler object

Methods on the compiler object (such as `compiles`, `links`, `has_header`)
can be passed dependencies returned by `declare_dependency`, as long as they
only specify compiler/linker arguments or other dependencies that satisfy
the same requirements.