Skip to content

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

@WenlinMao

Description

@WenlinMao

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.

Activity

TheMostDiligent

TheMostDiligent commented on Apr 5, 2025

@TheMostDiligent
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      How do I build a shared library for Android that can be used in a system that doesn't rely on CMake? · Issue #335 · DiligentGraphics/DiligentEngine