[Java][JNI] Improve current cmake java libraries dependencies that needs Protobuf_ROOT and Protobuf_USE_STATIC_LIBS variables
未關閉
- 主要語言
- Java
- 星號
- 94
- 分支
- 152
- 平均合併
- 3 天 16 小時
- 30 天內合併 PR
- 11
描述
### Describe the enhancement requested
The current Java JNI build needs to declare these CMAKE variables in order to build correctly:
- -DProtobuf_USE_STATIC_LIBS=ON
- -DProtobuf_ROOT=${project.basedir}/../cpp-jni/protobuf_ep-install
It may be possible to add support for installing bundled protocols.
### Component(s)
Documentation, Java
貢獻指南
研究方向
先定位 Java JNI 的 CMake 相依性設定與目前的 Protobuf 設定。檢查建置期間如何傳遞 Protobuf_USE_STATIC_LIBS 與 Protobuf_ROOT,接著驗證在沒有未記錄的手動設定下進行建置;另外判定隨附協定的安裝是否屬於範圍。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cmake, java
- 領域
- build-system
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100