Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vcpkg-docs to describe new way of working with vcpkg included in visual studio #389

Open
MatthijsPrent opened this issue Aug 22, 2024 · 1 comment

Comments

@MatthijsPrent
Copy link

Type of issue

Outdated article

Description

I believe this information page is correct and working. However, it is described that vcpkg should be manually checked out and build. Since VS 2022 17.6 the vcpkg package manager can be included as an installable component which could simplify this workflow. I think it would be good to update this description to describe how to use the installable VS componend.

https://devblogs.microsoft.com/cppblog/vcpkg-is-now-included-with-visual-studio/

Page URL

https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild

Content source URL

https://github.com/Microsoft/vcpkg-docs/blob/main/vcpkg/get_started/get-started-msbuild.md

Document Version Independent Id

d90305f7-2d67-3e22-6477-cfb1e21c1260

Article author

@data-queue

Metadata

  • ID: d90305f7-2d67-3e22-6477-cfb1e21c1260
  • Service: vcpkg
@patrikhuber
Copy link

I agree, especially the vcpkg integrate install step, I think that one is even no longer recommended, as the recommended way nowadays (for the sake of reproducible builds) is to use CMakePresets.json and specify

"CMAKE_TOOLCHAIN_FILE": {
  "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
  "type": "FILEPATH"
}

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants