vcpkg_rs_mf

Crates.iovcpkg_rs_mf
lib.rsvcpkg_rs_mf
version0.3.1
sourcesrc
created_at2024-08-12 09:12:16.227725
updated_at2024-08-12 13:21:15.831177
descriptionA library to find native dependencies in a vcpkg tree at build time in order to be used in Cargo build scripts.
homepage
repositoryhttps://github.com/crosscode-nl/vcpkg-rs-mf
max_upload_size
id1334210
size2,442,132
Patrick Vollebregt (crosscode-nl)

documentation

https://docs.rs/vcpkg_rs_mf

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_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.

License

See LICENSE-APACHE, and LICENSE-MIT for details.

Commit count: 0

cargo fmt