Skip to content

android build support #94

Description

@zhmt

Hi , I am trying to embed it into my android game (a c++ project), will you please add cross build for android? static and shared, debug and release options?
I am not farmiliar with zig.
But I have built a "libcyber.a" static libary succsussfully.

It encounted some errors, and it fixed by modifing the build.zig. Maybe you guys will do better. Here is my building command:
zig build lib -Doptimize=ReleaseFast -Dtarget=aarch64-linux-android

The modifed build.zig is attached, just focus on lines including "addIncludePath(.{ .path = "D:/Prog/Android.....".

I will be happy if android building is supported. Thank you.
build.zig.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions