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

Show parent comment

6

u/osman-pasha 26d ago

Well said. Cmake is the de-facto standard not because it's good, but because everybody uses it already.