Just tried Vcpkg Manifest on my cmake project and it is cool, with exceptions however.
My project depends on opencv and it takes a long time for vcpkg to install opencv. So I realized I don't want vcpkg downloawding/installing opencv every time I clone the project in a different folder.
Is it possible to use Vcpkg Manifest but make it install libraries system wide instead of locally to the project?
Or at least not inside the build directory, so will be possible to reuse it?
CodePudding user response:
No, you can't install libraries system-wide in manifest mode. But binaries are cached so that if you use a library in multiple projects, you don't have to build it from scratch. https://github.com/microsoft/vcpkg/blob/master/docs/users/binarycaching.md