tree: 43f592baa3b2cba036713e497255f186f79c9e98 [path history] [tgz]
  1. src/
  2. test-data/
  3. tests/
  4. .cargo-checksum.json
  5. Cargo.toml
  6. CHANGELOG.md
  7. LICENSE-APACHE
  8. LICENSE-MIT
  9. notes.md
  10. README.md
  11. rustfmt.toml
  12. setup_vcp.sh
vendor/vcpkg-0.2.15/README.md

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.