What is the best IDE for CMake (C/C++) developers?

This is a subjective post of course but I’m curious about the development environment and IDE’s people use with CMake.

Personally I’ve only really been Visual Studio 16 2019.

But I’d like to learn more about what other people are using.

1 Like

I’m using Visual Studio Code (not equal to Visual Studio) with CMake & C/C++ plugins.

That solution is cross-platform (Windows, macOS, Linux).

1 Like

I quite like CLion, which uses CMake as its oldest/most mature project system. As a C++ IDE it’s great, but it could use some nicer features when editing CMake code. Like VS Code, it’s also cross platform. I personally find it to be a lot more polished than VS Code, however.

1 Like

Long-time Qt Creator user for me personally. It is also cross-platform, has been around for quite a while and is actively developed. With Qt having switched to CMake as their primary build system for Qt6, the CMake support in Qt Creator has improved in recent times.

“Best” is obviously always very suggestive. I personally use and really like CLion. I have been using Jetbrains other IDEs for years (especially for Java development) so it feels right at home. And what I like the most with CLion is that it handles CMake natively so it is very convenient. You just open your CMake based project and CLion will do the right thing…

1 Like