DiligentEngine icon indicating copy to clipboard operation
DiligentEngine copied to clipboard

How do I build a shared library for Android that can be used in a system that doesn't rely on CMake?

Open WenlinMao opened this issue 10 months ago • 2 comments

For context, we don't use the CMake system. What is the best command to use to build the Diligent Engine into a shared library that can be linked by our Android project? Additionally, does it make sense to distribute the Diligent Engine through an AAR (Android Archive) files? It would feel much easier for Android developers to use the Diligent Engine if there were a prebuilt version available on Maven Central.

WenlinMao avatar Apr 05 '25 01:04 WenlinMao

What is the best command to use to build the Diligent Engine into a shared library

On our CI, the core libraries are built with gradlew, which produces .so that can then be used in a project.

It would feel much easier for Android developers to use the Diligent Engine if there were a prebuilt version available on Maven Central.

Yes, this is reasonable. Only we don't have a lot of time to look into this at the moment.

TheMostDiligent avatar Apr 05 '25 04:04 TheMostDiligent