This guide explains in broad strokes how to set up C++ tool chains on Windows for usage of all big three compilers with CMake and Ninja through PowerShell. PowerShell is advised because of its customizabilty, which we'll use to conveniently juggle between the different toolchains.
- Download and install Ninja.
Ninja is a build system, its purpose is to run compile commands and keep track of your project files' compilation status, to tell whether they're up-to-date or need recompiling.
Extract the executable file to a folder and add that folder's path to your systemPATH
environment variable.