I’m having problems figuring-out how to tell gradle about the non-conventional directory structure of my C project. I’ve looked at the C/C++ documentation in the Gradle User Guide but it’s still not clear to me what I have to do.
If you can, would you please reply with an example “build.gradle” file for a C/C++ project with a non-conventional directory structure. Thanks.
There’s not yet a sample (or docs) that cover this scenario. However, this integration test should point you in the right direction (it includes a sample build file):
The solution you referenced isn’t quite applicable because the relevant part is enclosed by a “def”. Still, it got me closer. See my followup posting for the current problem.