
C++ Easy Mode -- Getting Started with C++ (Using VCPKG)
Full Text Step by Step Tutorial:
https://gamefromscratch.com/vcpkg-cpp-easy-mode-step-by-step-tutorial/
Timeline:
0:01 Introduction and overview
1:07 Getting your compiler and other pieces installed
4:30 Installing VCPKG
8:08 Searching for and installing packages
11:44 Using a VCPKG in Visual Studio
15:18 Installing and configuring Visual Studio Code
18:57 Creating your Visual Studio Code based CMake project
20:30 Configuring Code to work with VCPKG
23:46 Creating your Run configuration
24:41 Compiling a Raylib project
25:50 A few more CMakeFiles.txt tweaks
Getting started with C++ is always a challenge and the biggest challenge of all is often the build system. The minute you need to add a 3rd party library, that depends on 8 other libraries, new developers slam into a brick wall (as do experienced developers sometimes too!). In this video we look at a solution to this, vcpkg, a package manager with over 1300 packages.
We will show how to use vcpkg to install and configure packages. After that we will show how to use them in Visual Studio, then do a full tutorial on getting Visual Studio Code set up and running for C++ development, from installing and adding extensions, to configuring CMake projects and integrating with vcpkg. By the end of this tutorial you should easily be able to avoid that wall 99% of the time!