We have been using Gradle for our C++ project(s) for the last year now but as the complexity of the project grows and our use/creation of libraries increases I find myself dealing with situations where my knowledge of Gradle falls short.
The net is full of helpful resources for Gradle but it is extremely Java focused. Furthermore, I have not seen many C++ projects using Gradle. For these reasons, I am considering making the move to CMake since I am at point where I need to significantly edit our build scripts.
Is the move to CMake, a more battle testing and ubiquitous C/C++ build system, worth it? Or is sticking with Gradle, which recently came into the C++ game, worth the trouble?
Note: I know they are other C++ options out there but CMake seems like the one that would best replace our current solution.
My advice would be to use CMake. Many projects have already been successfully using it. CMake also has the CPack and CTest features, which are very helpful when working with projects. Additionally, many IDE projects can be generated using either Gradle or CMake.
Just to point out, CMake is not a build system but a build system generator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With