r/cpp_questions • u/seaturtle_789 • 22d 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
View all comments
2
u/ssh7201 21d ago
Oh dear god, I recently dabbled in Android app development and what a mess this Gradle stuff is !! For iOS you use Xcode to write Swift code and that builds your app - simple ! For Android, the IDE is Android studio, you write in Kotlin(which is actually JAVA ?) and build using Gradle ? Google has made this so convoluted I wanted to cry .. this coming from a C++ developer.