Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support merge_staticlib for static kind package #5894

Closed
star-hengxing opened this issue Nov 27, 2024 · 3 comments
Closed

Support merge_staticlib for static kind package #5894

star-hengxing opened this issue Nov 27, 2024 · 3 comments

Comments

@star-hengxing
Copy link
Contributor

Is your feature request related to a problem? Please describe.

A new policy, package.merge_staticlib, can be used for libraries like abseil that have many sub-libraries(86+), let xmake merge into a single static library.

Describe the solution you'd like

N/A

Describe alternatives you've considered

No response

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Dec 4, 2024

大概实现了,#5927

不过 .pc/.cmake 的导入文件没法处理,库名换了,可能会影响其他库去 find package,像 abeils 这种,一堆的 .pc ,不太适用

@waruqi waruqi added this to the v2.9.7 milestone Dec 4, 2024
@star-hengxing
Copy link
Contributor Author

不过 .pc/.cmake 的导入文件没法处理,库名换了,可能会影响其他库去 find package,像 abeils 这种,一堆的 .pc ,不太适用

没问题,这个功能就是方便用户而不是打包

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


However, the import file of .pc/.cmake cannot be processed. If the library name is changed, it may affect other libraries to find packages. A bunch of .pc files like abeils are not suitable.

No problem, this function is to facilitate users rather than packaging

@waruqi waruqi closed this as completed Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants