You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In manifest mode, when integrate vcpkg with build system, vcpkg_installed is placed in the build directory rather than the same directory that contains the manifest file which contradicts the documentation.
Instead, each manifest gets its own installation directory named vcpkg_installed; the vcpkg_installed directory is created in the same directory that contains the manifest file.
This issue is a duplicate of microsoft/vcpkg#39385, originally initiated by @wardw.
In manifest mode, when integrate vcpkg with build system,
vcpkg_installed
is placed in the build directory rather than the same directory that contains the manifest file which contradicts the documentation.From documents
vcpkg/consume/manifest-mode and vcpkg/consume/manifest-mode.md
vcpkg/concepts/manifest-mode and vcpkg/concepts/manifest-mode.md
vcpkg/reference/installation-tree-layout and vcpkg/reference/installation-tree-layout.md
From codes
When using manifest mode, given
vcpkg.json
, taking the build toolCMake
and the generatorVisual Studio 17 2022
as an example:For non-integrated usage
vcpkg install
vcpkg_installed
directory is created in the same directory that contains the manifest fileInstalledPaths
bymanifest_dir / "vcpkg_installed"
For integrated usage
vcpkg_installed
directory is created in the build directory instead of like non-integrated mode._VCPKG_MANIFEST_DIR
toCMAKE_BINARY_DIR
The text was updated successfully, but these errors were encountered: