Improve xrepo #6237
star-hengxing
started this conversation in
General
Improve xrepo
#6237
Replies: 2 comments 2 replies
-
给不过去,而且是一对多的关系,sdkdir 就一个,顶多就是 toolchain 里面搞个接口 wrap 简化下,但也简化不了多少 |
Beta Was this translation helpful? Give feedback.
0 replies
-
感觉工具链都可以考虑使用环境变量来传递,比如 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
目前从 xrepo 提取工具链路径很繁琐,都需要在 msvc/clang/clang-cl 检测一遍,有点太耦合。
xmake/xmake/toolchains/msvc/check.lua
Lines 147 to 156 in d6b1a19
有没有更好的方法可以让 xrepo 导出路径给到 config 时的 sdkdir。
Beta Was this translation helpful? Give feedback.
All reactions