-
I'm developing embedded c/c++ applications using eclipse which uses CMake to build projects. I can set CMake to generate compile_commands.json, but it seems that it does not include all the necessary include paths and thus emacs lsp show "xxx/xxx.h" file not found. So my question is: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
clangd/ccls does not expose this via API. The only way to make that work that I am aware of is to use compile_commands.json. I guess you can do that manually. |
Beta Was this translation helpful? Give feedback.
clangd/ccls does not expose this via API. The only way to make that work that I am aware of is to use compile_commands.json. I guess you can do that manually.