Struct vcpkg::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
fn new() -> Config
fn statik(&mut self, statik: bool) -> &mut Config
Indicate whether to look for a static lib.
This will override the inference from environment variables described in the crate documentation.
fn cargo_metadata(&mut self, cargo_metadata: bool) -> &mut Config
Define whether metadata should be emitted for cargo allowing it to
automatically link the binary. Defaults to true
.
fn probe(&self, name: &str) -> Result<Library, Error>
Find the library name
in a vcpkg tree.
This will use all configuration previously set to select the architecture and linkage.