mcgoo / vcpkg-rs

Build library for finding native libraries in vcpkg for Rust - Windows (msvc), Linux and macOS
https://docs.rs/vcpkg
Apache License 2.0
108 stars 22 forks source link

Manifest mode #42

Closed SwishSwushPow closed 3 months ago

SwishSwushPow commented 3 years ago

This PR adds support for the manifest mode of vcpkg as discussed in issue #41.

By default it will be checked if a vcpkg.json file exists. If the user does not explicitly state that they don't want to use manifest mode by settings VCPKGRS_IGNORE_MANIFEST_MODE vcpkg-rs will check for dependencies in $CARGO_MANIFEST_DIR/vcpkg_installed.

SwishSwushPow commented 3 years ago

I'll look into adding a test for this as well.

Edit: I will also add a bit more documentation for this feature to the readme as soon as we have settled for an approach.

Danielmelody commented 1 year ago

Any progress here?