Skip to content

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

License

Notifications You must be signed in to change notification settings

gerard-ryan-immersaview/vcpkg-rs

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.6%
  • Shell 3.4%