Spring til hovedindhold

Denne browser understøttes ikke længere.

Opgrader til Microsoft Edge for at drage fordel af de nyeste funktioner, sikkerhedsopdateringer og teknisk support.

Download Microsoft Edge Flere oplysninger om Internet Explorer og Microsoft Edge
Læs på engelsk
Læs på engelsk Rediger

Del via

Facebook x.com LinkedIn Mail

vcpkg documentation

vcpkg is a cross-platform C/C++ package manager. Get access to thousands of high quality open-source libraries to empower your application and internally share collections of private components.

Get started

Quickstart

  • Install and use packages with CMake
  • Install and use packages with CMake in Visual Studio
  • Install and use packages with MSBuild in Visual Studio
  • Integrate with your CMake project
  • Integrate with your MSBuild (Visual Studio) project
  • Integrate with a different build system

Use External Registries

Tutorial

  • Registry types
  • Install your private dependencies

Package your own library

Tutorial

  • Create and publish packages
  • Apply patches to a dependency's source code
  • Contribute an open-source library to vcpkg
  • Provide usage documentation

Use vcpkg in CI

Tutorial

  • Mirror external resources for disconnected builds
  • Troubleshoot asset caching issues
  • Reuse builds between projects and machines
  • Troubleshoot binary caching issues

Version your dependencies

Concept

  • Versioning

Tutorial

  • Install a specific version of a package
  • Troubleshoot versioning issues

Customize ports and triplets

Reference

  • Environmental variables
  • Triplet settings

Maintain your own registry

Tutorial

  • Test your custom registry ports with GitHub Actions
  • Test your custom registry ports with Azure DevOps
Dine valg af beskyttelse af personlige oplysninger
  • AI Disclaimer
  • Tidligere versioner
  • Blog
  • Bidrag
  • Beskyttelse af personlige oplysninger
  • Vilkår for anvendelse
  • Varemærker
  • © Microsoft 2025
Dine valg af beskyttelse af personlige oplysninger
  • AI Disclaimer
  • Tidligere versioner
  • Blog
  • Bidrag
  • Beskyttelse af personlige oplysninger
  • Vilkår for anvendelse
  • Varemærker
  • © Microsoft 2025