| Crates.io | vcpkg_rs_mf |
| lib.rs | vcpkg_rs_mf |
| version | 0.3.1 |
| created_at | 2024-08-12 09:12:16.227725+00 |
| updated_at | 2024-08-12 13:21:15.831177+00 |
| description | A library to find native dependencies in a vcpkg tree at build time in order to be used in Cargo build scripts. |
| homepage | |
| repository | https://github.com/crosscode-nl/vcpkg-rs-mf |
| max_upload_size | |
| id | 1334210 |
| size | 2,442,132 |
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.
Find the library named foo in a Vcpkg installation and emit cargo metadata to link it:
// build.rs
fn main() {
vcpkg_rs_mf::find_package("foo").unwrap();
}
See the crate documentation for more information. See cargo-vcpkg for a convenient way of creating a vcpkg installation.
See LICENSE-APACHE, and LICENSE-MIT for details.