-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
cuda 项目生成的compile_commands貌似无法正常提示 #249
Labels
Comments
compile_commands 为啥会在 build 下。。vscode-xmake 插件默认生成的 compile_commands 应该在 .vscode 目录下。。 另外,光生成 compile_commands.json 不够,还得配置 cpptools/clangd ,去绑定 compile_commands.json 才能生效,确定绑关联对了路径? |
clangd插件支持cuda吗?cpptools是可以正常提示cuda的,clangd我也没成功过,后面放弃了 |
支持的,需要
除此之外文件第一行会依然会报一些错,比如 Unknown argument: '-rdc=true',但不影响写代码。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xmake Version
v2.8.6+master.8545a9301
Operating System Version and Architecture
windows 11 23h2 22631.3007
Describe Bug
直接使用生成的compile_commands文件会报如下错误:
生成的compile_commands文件:
怀疑是
-I
参数和后面的目录应该分开写,但是分开写后会报如下错误:Expected Behavior
vscode不报错误
Project Configuration
Additional Information and Error Logs
none
The text was updated successfully, but these errors were encountered: