6 releases
Uses old Rust 2015
| 0.2.4 | Dec 2, 2019 |
|---|---|
| 0.2.3 | Aug 21, 2018 |
| 0.2.2 | Jun 14, 2018 |
| 0.2.1 | Jun 14, 2017 |
| 0.1.2 | Apr 26, 2017 |
#602 in Build Utils
78 downloads per month
220KB
2K
SLoC
vcpkg-rs

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.
Dependencies
~2MB
~27K SLoC