Replies: 1 comment
-
指定多少,就是多少,直接透传给 vsvarsall.bat |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用
CMakePresets.json
时,toolset设置为v143,能自动识别到VS2022目录下的VC/Tools/MSVC/14.42.xxxx
但是使用xmake,无法设置v141/v142/v143。xmake是通过 14.1/14.2/14.3去设置的,当xmake的vs_toolset设置为14.3时,无法识别
VC/Tools/MSVC/14.42.xxxx
,必须设置成14.4场景是这样的:电脑安装了VS2022,有的机器上安装的工具集v143(14.38),有的安装的又是最新的v143(14.42)
cmake上设置成v143就会自动识别使用14.3x、14.4x
但是在xmake上必须手动修改14.3或者14.4,这个有没有办法在xmake统一?
Beta Was this translation helpful? Give feedback.
All reactions