firebase / firebase/firebase-cpp-sdk

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

Đang mở
#1,685 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
needs-triage new type: question
Ngôn ngữ chính
C++
Star
326
Fork
137
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
5

Mô tả

### [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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với build_scripts/desktop/package.sh và tái hiện lệnh được cung cấp bằng cách sử dụng các đường dẫn build và đầu ra đã nêu. So sánh cây include mà nó tạo ra với SDK dựng sẵn đã tải xuống và truy vết những đầu vào packaging nào chi phối các khác biệt. Công việc được xem là hoàn tất khi xác định được invocation chính xác hoặc ghi lại khoảng thiếu packaging ở phía repository.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
bash, cpp
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.