clang-build.ps1 vcpkg include for compile_commands.json
See original GitHub issueHello,
Thanks for the awesome tool!
I’m using clang-build.ps1 -export-json
command line to generate compile_commands.json
for neovim lsp and it works fine except that it doesn’t detect vcpkg so I had to manually include the vcpkg path to the compile_commands.json
:
-I\"C:\devel\vcpkg\installed\x64-windows\include\"
Can we please have an option to force it to include the vcpkg include path if vcpkg is present on the system?
Thank you.
Issue Analytics
- State:
- Created 2 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Issues · Caphyon/clang-power-tools
"Add LLVM" doesn't work ... compile commands not add vcpkg include path ... clang-build.ps1: append command line args to clang-flags from cpt.config.
Read more >No compile_commands.json file using cmake with vs code ...
I have a simple hello world int main() {...} in my ../src/ folder. Please suggest to me how to generate the compile_commands.json file...
Read more >JSON Compilation Database Format Specification - Clang
This document describes a format for specifying how to replay single compilations independently of the build system. Background¶. Tools based on the C++ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you! Didn’t know I had to activate that. Closing Issue.
@mariru27 No problem, I already have a temporary fix! Thank you very much. Here is some extra information just for clarification: Here is the Clang Power Tools json file output:
Here is the json file after my python script:
The only difference is the last include of the “command” item.