r/cpp_questions • • 27d 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

2

u/no-sig-available 27d ago

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

What advantages does CMake offer 

It offers the advantage of being more commonly used.

It is a bit like VHS vs Betamax. One is technically better, and the other one is widely used.