vcpkg + CMake on Windows | Easy C++ Library Management

Опубликовано: 14 Июнь 2026
на канале: Dev w/Sel
822
20

Learn how to set up and manage C++ projects on Windows using vcpkg (Microsoft’s C++ package manager) and CMake (cross-platform build system).

In this video, I’ll show you step-by-step how to:
🔹 Install and bootstrap vcpkg
🔹 Use a manifest file (vcpkg.json) for clean dependency management
🔹 Configure and build a project with CMake on Windows
🔹 Download and use a real C++ library (fmt) to print formatted text
🔹 Run the project and confirm everything works

Why use vcpkg + CMake?
✅ No more manual include/linker setup
✅ Reproducible builds with dependencies stored in vcpkg.json
✅ Works across Windows, Linux, and macOS
✅ Scales easily when adding more libraries (JSON, SDL, spdlog, etc.)

👉 https://vcpkg.io/en/
👉 https://github.com/microsoft/vcpkg