firebase / firebase/firebase-cpp-sdk

[Question] How to create prebuilt version of sdk from scripts

オープン
#1,685 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
needs-triage new type: question
主要言語
C++
スター
326
フォーク
137
平均マージ
3日 9時間
マージ済み PR(30日)
5

説明

### [READ] For Firebase Unity SDK question, please report to [Firebase Unity Sample](https://github.com/firebase/quickstart-unity/issues/new/choose)

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

### [REQUIRED] Please fill in the following fields:

* Pre-built SDK from the [website](https://firebase.google.com/download/cpp) or open-source from this repo: open-source from this repo
* Firebase C++ SDK version: 12.5.0
* Main Firebase Components in concern: all
* Other Firebase Components in use: all
* Platform you are using the C++ SDK on: Linux
* Platform you are targeting: desktop (iOS, Android, and/or desktop)

### [REQUIRED] Please describe the question here:

What's up guys. Sorry for stupid (maybe) question.

I build firebase sdk from sources.
How can I get prebuilt versrion of sdk from script?

I invoke:
`./build_scripts/desktop/package.sh -b /home/era/Work/firebase-cpp-sdk/build -o /home/era/Work/firebase-cpp-sdk/release -p linux -t /usr/bin -j 28 -L`

But, there are no some include files and folders. Here what i get.

![Image](https://github.com/user-attachments/assets/7d1147f0-268d-42e3-bda5-04170f70122f)

![Image](https://github.com/user-attachments/assets/6ed2fb8f-5ef2-4ad6-a451-9b743ffc5540)

But, if we look at the prebuilt version of sdk (zip file) you will see more files
For ex, the include files from prebuilt version

![Image](https://github.com/user-attachments/assets/a9088ce0-201e-473b-8485-62f944393b6b)

As you can see, there are more files.
What I do wrong?

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

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

調査の方向性

build_scripts/desktop/package.sh から始め、指定された build パスと出力パスを使って提示されたコマンドを再現します。生成された include ツリーをダウンロードした prebuilt SDK と比較し、どの packaging 入力が差異を制御しているかを追跡します。正しい invocation を特定するか、repository 側の packaging の不足を文書化できれば完了です。

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

評価

技術スタック
bash, cpp
領域
build-system
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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