Master vcpkg: The Microsoft C++ package manager

Learn vcpkg from Scratch: Manage C/C++ Libraries, Dependencies, Triplets, CMake, Visual Studio and More

  • 0.0 (0 Reviews)
  • 0 Students
  • 38 Lessons
  • Haithem Jebali

Course Overview

Master vcpkg for Modern C++ Development

Managing third-party libraries in C++ can quickly become complicated. Downloading libraries manually, configuring include and library paths, handling different architectures, and keeping dependencies consistent across projects can be time-consuming and error-prone.

vcpkg provides a modern solution for managing C++ dependencies.

In this hands-on course, you will learn how to use vcpkg to install, configure, integrate, and manage C++ libraries in real-world development environments.

We start with the fundamentals and gradually move into more advanced topics. You will learn how vcpkg works, how to install and update it, search for packages, manage dependencies, and work with different architectures using triplets and custom triplets.

You will also learn how to integrate vcpkg with CMake, MSBuild, and Visual Studio, and how to use both Classic Mode and Manifest Mode for dependency management.

As you progress, we will cover more advanced dependency-management concepts, including:

  • Package version constraints

  • Baselines and versioning

  • Reproducible builds

  • Automatic dependency resolution

  • Custom triplets

  • CMake toolchain files

  • Visual Studio integration

  • Best practices for modern C++ dependency management

Throughout the course, we will work with real C++ libraries such as fmt and spdlog, giving you practical experience that you can directly apply to your own projects.

By the end of the course, you will have a solid understanding of vcpkg and be able to use it confidently to build cleaner, more maintainable, and reproducible C++ projects.

What You Will Learn

-  Install and configure vcpkg
-  Search, install, remove, and upgrade C++ packages
-  Work with triplets and create custom triplets
-  Integrate vcpkg with CMake and MSBuild
-  Use Classic Mode and Manifest Mode
-  Manage dependencies with vcpkg.json
-  Use version constraints and baselines
-  Build reproducible C++ projects
-  Integrate vcpkg with Visual Studio
-  Apply best practices for professional C++ dependency management

Whether you are a C++ developer, software engineer, embedded developer, or student, this course will give you the practical knowledge you need to start using vcpkg effectively.

No previous vcpkg experience is required.

Let's get started and make C++ dependency management much easier!

See more

FAQ

FAQ area empty

Course curriculum

9 chương 38 bài học 1 giờ 50 phút 7 bài học thử miễn phí
Chương 1 Welcome
Chương 2 Installation
Chương 3 Dealing with packages
Chương 4 Understanding Triplets
Chương 5 Vcpkg modes
  • Classic mode 2:59
  • Manifest mode 2:05
Chương 6 Using vcpkg with CMake
  • Create the project structure 2:33
  • Create the Source File 1:58
  • Create the Manifest File 1:56
  • Create the CMakeLists.txt File 4:35
  • Configure the Project 3:17
  • Build the project and run the application 2:47
Chương 7 Manifest mode
  • Adding multiple dependencies 1:46
  • Adding dependencies with features 4:42
  • Dependencies Common mistakes 1:19
  • Baselines 4:04
  • Find the current Baseline 0:48
  • Configure a baseline for your project 4:20
  • Minimum Version Constraints 3:38
  • Version Constraints within Baselines 4:27
  • Common Mistakes and Best practices 2:37
Chương 8 Visual Studio Integration in classic mode
  • Create Visual Studio Project 3:19
  • Settings, Build and Run 2:48
Chương 9 Outro
  • Outro 0:49

Requirment

  • A Windows computer with Visual Studio 2019 or later installed.

  • Basic knowledge of C++ programming.

  • Basic knowledge of CMake is recommended, but not required.

Outcomes

  • Install and use vcpkg to find, install, remove, and upgrade C++ libraries across different platforms and architectures.

  • Configure dependencies effectively using triplets, custom triplets, manifest mode, version constraints, and baselines.

  • Integrate vcpkg with CMake and Visual Studio to build, debug, and manage modern C++ projects.

  • Create reproducible and maintainable C++ builds by controlling dependency versions and automating dependency management with vcpkg.

Instructor

...
Haithem Jebali

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com