Vcpkg Rs Save

Build library for finding native libraries in vcpkg for Rust - Windows (msvc), Linux and macOS

Project README

vcpkg-rs Windows macOS Linux WASM

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.

Open Source Agenda is not affiliated with "Vcpkg Rs" Project. README Source: mcgoo/vcpkg-rs
Stars
100
Open Issues
11
Last Commit
2 months ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating