Struct vcpkg::Config[][src]

pub struct Config { /* fields omitted */ }

Methods

impl Config
[src]

Override the name of the library to look for if it differs from the package name.

This may be called more than once if multiple libs are required. All libs must be found for the probe to succeed. .probe() must be run with a different configuration to look for libraries under one of several names. .libname("ssleay32") will look for ssleay32.lib and also ssleay32.dll if dynamic linking is selected.

Override the name of the library to look for if it differs from the package name.

This may be called more than once if multiple libs are required. All libs must be found for the probe to succeed. .probe() must be run with a different configuration to look for libraries under one of several names. .lib_names("libcurl_imp","curl") will look for libcurl_imp.lib and also curl.dll if dynamic linking is selected.

Define whether metadata should be emitted for cargo allowing it to automatically link the binary. Defaults to true.

Define cargo:include= metadata should be emitted. Defaults to false.

Should DLLs be copied to OUT_DIR? Defaults to true.

Find the package port_name in a Vcpkg tree.

Emits cargo metadata to link to libraries provided by the Vcpkg package/port named, and any (non-system) libraries that they depend on.

This will select the architecture and linkage based on environment variables and build flags as described in the module docs, and any configuration set on the builder.

Trait Implementations

impl Default for Config
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config