This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Document VCPKG_ROOT environment variable and make a command to set it #24193
Labels
category:documentation
To resolve the issue, documentation will need to be updated
As a newb I was hit by a failure in bootstrapping/building another project: DDoSolitary/yasfw#49
It seems there is a standard (at least de facto standard)
VCPKG_ROOT
env-var, but it is neither mentioned in vcpkg's Quick Start, nor set by vcpkg tool.Can it be documented (documentation is required to fix the exact name of the variable and to also fix relative path from the variable to the executable (for some tools it can be subfolder like %ROOT%\bin\name.exe)), and mentioned in the readme.md ?
Also, can the bootstrap .bat or vcpkg executable be made to set it? The latter - as part of
vcpkg integrate install
command or as a separate command likevcpkg integrate envvar
?At least on Windows platform - for what i remember on Windows NT one needs to update HKCU and/or HKLM registry key, then to broadcast some WM_XXX message to make Explorer re-fetch updated env-vars).
Since
vcpkg integrate install
seems to request UAC elevation anyway, it seems to be a good place to put HKLM env-var adjustment into. If not i'd like to seevcpkg integrate envvar
andvcpkg integrate envvar /useronly
commands implemented and mentioned in Quick Start documentation.The text was updated successfully, but these errors were encountered: