Skip to content

Support packages shipping multi-config prebuilds #283

@kraenhansen

Description

@kraenhansen

With default options

  • cmake-rn outputs into ./build/{configuration}/my-lib.apple.node and ./build/{configuration}/my-lib.android.node.
  • react-native-node-api linking doesn't include the library configuration in the remapped name.

In most cases, the app developer is interested in the "MinSizeRel", "RelWithDebInfo" or "Release", but it's not necessarily clear to me, which would be a preferred default.
In rare cases, the app developer might also be interested in running the "Debug" prebuilt (if available).

Ideally, we would have a way for "react-native-node-api" to pick the right prebuilt based on some configuration (passed to react-native-node-api --link?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions