3rd Nov 2019
It’s been some time I am trying to use gradle to compile complex C++ projects. You can find my work in below github link.
https://github.com/siddswork/gradle
So far what I did is kind of elementary, as I was looking for some quick wins. I already have a huge C++ application with 100+ sub-projects having complex dependencies. The make files for compilation are generated by Eclipse, as that the IDE we use for coding.
I have a shell script that can runs gmake in a sequence. With help of Gradle’s exec tasks, I am able to compile them and also hard coded the task dependencies using gradle’s dependsOn option.
My github on gradle has the experimental programs I am creating as a POC (example 1 to 5). This is quite basic. As a next step I need to dive deeper to witness its powers first hand.