既然v144是msvc的问题,无论msvc还是cmake都不改动,那么可否由使用者主动改动呢? #5234
Closed
augustheart
started this conversation in
General
Replies: 1 comment 11 replies
-
_get_msvc(package):config("vs_toolset") 这里面 也会优先从 xmake/xmake/toolchains/msvc/check.lua Line 41 in 872ddbd |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
联动 #5230 ,根据提示,我找到了判断的地方
可以看到,vs_toolset的值优先从系统获取。
那么,我们可否修改一下,优先以用户提供的为主呢?
这样,在我遇到的情况下,如果不手动设置--vs_toolset,依旧能够和以前一样保持一致,但是在手动设置--vs_tools的时候,可以主动提供14.3覆盖错误的值。
Beta Was this translation helpful? Give feedback.
All reactions