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

The first argument is splitted in compile_commands.json when using Visual Studio #3203

Closed
xq114 opened this issue Dec 25, 2022 · 2 comments
Closed
Labels

Comments

@xq114
Copy link
Contributor

xq114 commented Dec 25, 2022

Xmake 版本

2.7.4

操作系统版本和架构

Windows 10

描述问题

image
如图所示,第一个参数应该是cl.exe编译器,然而这里被拆开了,导致vscode不能正确识别

期待的结果

compile_commands.json的第一个参数应该是编译器

工程配置

No response

附加信息和错误日志

No response

@xq114 xq114 added the bug label Dec 25, 2022
@waruqi
Copy link
Member

waruqi commented Dec 25, 2022

再试试,xmake update -s dev

@xq114
Copy link
Contributor Author

xq114 commented Dec 25, 2022

可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants