-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Minimal CMake
By :

In this section, we’ll cover how to install everything you’ll need to start building applications with CMake on Windows.
To begin with, you will need a C/C++ compiler. If you don’t already have a compiler installed, a good choice to go with is Visual Studio (Visual Studio 2022 Community Edition can be downloaded from https://visualstudio.microsoft.com/vs/community/).
Visual Studio is an integrated development environment that comes with Microsoft’s C++ compiler for Windows (cl.exe
). We won’t be covering Visual Studio directly, though you are more than welcome to use it if you prefer (see Chapter 11, Supporting Tools and Next Steps for a brief summary). We’ll cover how to generate Visual Studio solution files and invoke MSBuild to build our project. To keep things as consistent as possible, we’ll use Visual Studio Code for most of the examples. This is more for convenience than anything else, and if you...