Chuyển đến nội dung chính

Trình duyệt này không còn được hỗ trợ nữa.

Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.

Tải xuống Microsoft Edge Xem thêm thông tin về Internet Explorer và Microsoft Edge
Đọc bằng tiếng Anh Chỉnh sửa

Chia sẻ qua

Facebook x.com LinkedIn Email

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
vi-vn
Lựa chọn quyền riêng tư của bạn
  • Tuyên bố miễn trừ trách nhiệm về AI
  • Các phiên bản trước
  • Blog
  • Đóng góp
  • Quyền riêng tư
  • Quyền riêng tư về sức khỏe của người tiêu dùng
  • Điều khoản sử dụng
  • Thương hiệu
  • © Microsoft 2026