vcpkg

Crates.iovcpkg
lib.rsvcpkg
version0.2.15
sourcesrc
created_at2017-04-20 21:35:56.630487
updated_at2021-06-19 16:35:46.573605
descriptionA library to find native dependencies in a vcpkg tree at build time in order to be used in Cargo build scripts.
homepage
repositoryhttps://github.com/mcgoo/vcpkg-rs
max_upload_size
id11361
size2,480,880
Mike Waychison (waych)

documentation

https://docs.rs/vcpkg

README

vcpkg-rs Windows macOS Linux

Documentation Changelog

This is a helper for finding libraries in a Vcpkg installation from cargo build scripts. It works similarly to pkg-config. It works on Windows (MSVC ABI), Linux and MacOS.

Example

Find the library named foo in a Vcpkg installation and emit cargo metadata to link it:

// build.rs
fn main() {
    vcpkg::find_package("foo").unwrap();
}

See the crate documentation for more information. See cargo-vcpkg for a convenient way of creating a vcpkg installation.

License

See LICENSE-APACHE, and LICENSE-MIT for details.

Commit count: 320

cargo fmt