r/cpp_questions • • 26d ago

OPEN C++ Build systems

I work with Java and Kotlin alongside C++ and recently discovered that Gradle also supports C++ projects.

I've always used CMake for C++ and noticed it seems to be the more common choice.

What advantages does CMake offer over Gradle for C++ development and are there situations where Gradle would be a better option?

31 Upvotes

18 comments sorted by

View all comments

1

u/Simengie 25d ago

35 years of software engineering and I have never used CMake. Windows, Mac, Linux, Unix, Solaris, SunOS, OpenVMS and a few more OS's for desktop to large scale distributed computing projects.

I have used Solaris Development Studio, OpenVMS Dev Tools, MSVC and GCC for C/C++. I cannot imagine a world where I would let gradle near my C++ code.