Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 03-May-2022 | - | 196 | 182 | |
src/ | H | 03-May-2022 | - | 1,947 | 1,383 | |
test-data/ | H | 03-May-2022 | - | 40,325 | 39,656 | |
tests/ | H | 03-May-2022 | - | 49 | 33 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 01-Jan-1970 | 74 | 6 | 5 | |
.gitignore | H A D | 01-Jan-1970 | 37 | 5 | 4 | |
.gitlab-ci.yml | H A D | 01-Jan-1970 | 1.7 KiB | 68 | 61 | |
CHANGELOG.md | H A D | 01-Jan-1970 | 3.1 KiB | 113 | 61 | |
Cargo.toml | H A D | 01-Jan-1970 | 1.1 KiB | 31 | 27 | |
Cargo.toml.orig-cargo | H A D | 01-Jan-1970 | 565 | 22 | 18 | |
LICENSE-APACHE | H A D | 01-Jan-1970 | 10.8 KiB | 203 | 169 | |
LICENSE-MIT | H A D | 01-Jan-1970 | 1.1 KiB | 27 | 22 | |
README.md | H A D | 01-Jan-1970 | 1.3 KiB | 24 | 14 | |
notes.md | H A D | 01-Jan-1970 | 4.4 KiB | 82 | 50 | |
rustfmt.toml | H A D | 01-Jan-1970 | 26 | 3 | 1 | |
setup_vcp.sh | H A D | 01-Jan-1970 | 965 | 33 | 19 |
README.md
1# vcpkg-rs [![Windows](https://github.com/mcgoo/vcpkg-rs/workflows/Windows/badge.svg?branch=master)](https://github.com/mcgoo/vcpkg-rs/actions?query=workflow%3AWindows) [![macOS](https://github.com/mcgoo/vcpkg-rs/workflows/macOS/badge.svg?branch=master)](https://github.com/mcgoo/vcpkg-rs/actions?query=workflow%3AmacOS) [![Linux](https://github.com/mcgoo/vcpkg-rs/workflows/Linux/badge.svg?branch=master)](https://github.com/mcgoo/vcpkg-rs/actions?query=workflow%3ALinux) 2 3[Documentation](https://docs.rs/vcpkg) [Changelog](CHANGELOG.md) 4 5This is a helper for finding libraries in a [Vcpkg](https://github.com/Microsoft/vcpkg) installation from cargo build scripts. It works similarly to [pkg-config](https://github.com/alexcrichton/pkg-config-rs). It works on Windows (MSVC ABI), Linux and MacOS. 6 7## Example 8 9Find the library named `foo` in a [Vcpkg](https://github.com/Microsoft/vcpkg) installation and emit cargo metadata to link it: 10 11```rust 12// build.rs 13fn main() { 14 vcpkg::find_package("foo").unwrap(); 15} 16``` 17 18See the crate [documentation](https://docs.rs/vcpkg) for more information. See [cargo-vcpkg](https://crates.io/crates/cargo-vcpkg) for a convenient way of creating a vcpkg installation. 19 20## License 21 22See LICENSE-APACHE, and LICENSE-MIT for details. 23 24