Hallo there,
I’ve made a good experience with Gradle for Groovy/Java projects and I try now to set up a C/C++ project with Gradle in my company. My project has 10 different subprojects, each of this subproject is a static library, that uses a gtest plug-in to write unit tests. Project should also run on different platforms, e.g. based on arm cpu. So far so good.
Now calling gradle tasks I can see, that gradle creates for each of my subproject 6 different tasks:
-myComponentArmSharedLibrary
-myComponentX64SharedLibrary
-myComponentArmStaticLibrary
-myComponentX64StaticLibrary
-myComponentArmGoogleTestExe
-myComponentX64GoogleTestExe
If I also use different build types, then it will be even more.
Is there any way to specify, which tasks I want to have and which not or to disable tasks somehow? I do not use shared libraries in my project at all and unit testing on arm platform also doesn’t make much sense from my point of view.
I hope someone has an idea
Best Regards,
Anton