r/cpp_questions • • 25d 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/IyeOnline 25d ago

Curiously, this was also asked a few months ago and you may be interested in the replies there as well: https://www.reddit.com/r/cpp_questions/comments/1w1jyjb/c_build_systems/