Using CMake in Visual Studio, VSCode, and Qt Creator
Being a common tool in software development, CMake has integrations with a wide variety of IDEs and source code editors. Using such integrations while using an IDE or editor is perhaps more convenient for the user. In this section, we will cover how CMake integrates with some popular IDEs and editors.
If you are expecting a guide about how to use an IDE or editor, this section is not going to be about that. The focus of this section is to investigate and learn about CMake integrations with such tools. This section assumes that you have existing experience with the IDE/editor you are going to interact with.
Let’s start with Visual Studio.
Visual Studio
Visual Studio was one of the latecomers to the party when supporting CMake. Unlike other popular IDEs, Visual Studio had no native support for CMake until the year 2017. In that year, Microsoft decided to make a move and introduced built-in support for handling CMake...