Skip to content
Discussion options

You must be logged in to vote

cmake 的包啊,那就没事了,cmake 吐啥就获取啥,你自己 扩展参数配,让它只吐 release 库,如果没参数控制,那我也没办法,你得找 cmake 和这个cmake项目那边反馈。。

可配置参数,文档里看下。。https://xmake.io/#/zh-cn/package/local_package?id=find-packages-from-cmake

xmake 这边也只是内部调用 cmake 的 find_package 去获取,它给什么过来,就获取什么

这原本就非常依赖每个 cmake 包的配置,不可靠,且复杂,除非必要,建议不要这么搞,直接用 xmake-repo 仓库包

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Ligo04
Comment options

@waruqi
Comment options

Answer selected by Ligo04
@Ligo04
Comment options

@waruqi
Comment options

@Ligo04
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants