Support packages shipping multi-config prebuilds

オープン
#283 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cmake, react-native, typescript

調査の方向性

まず、cmake-rn が構成ごとの prebuilt パスをどのように生成し、react-native-node-api がリンク時にライブラリ名をどのように再マッピングするかを追跡します。構成選択における望ましい動作を定義し、呼び出し元が Debug または別の build を要求できるかどうかを含め、要求された prebuilt が利用できない場合に何が起こるかを文書化します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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?).

主要言語
TypeScript
スター
188
フォーク
10
平均マージ
2日 17時間
マージ済み PR(30日)
3

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/react-native-node-api のほかの issue

callstackincubator/react-native-node-api の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。