Skip to content

Add getLibraryPaths(), getIncludePaths(), getSystemIncludePaths() methods to Ndk struct, make existing code utilize them #93

Description

@silbinarywolf

Why do this?

We should enable consumers of this SDK to get those paths themselves if they need them.

What to add

Not sure if there is a more conventional Zig name for the following functions but I imagine it returning []LazyPath for each. Would likely need the compile target passed in as a bare minimum.

  • Add getLibraryPaths()
  • Add getIncludePaths()
  • Add getSystemIncludePaths()

What prompted this?

Translate-C as an external dependency didn't work until I added it recently in this PR: #92, We should enable consumers of this SDK to get those paths themselves if they need them.

it might be preferable to add a public API to get the include paths for a given target.
From: #91

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions