[question] generate compile_commands.json over the command line
See original GitHub issueAt the moment I am exporting compile_commands.json
for a solution via Export Compilation Database
button in visual studio.
Is there a way to do this over the command line?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Generate compile_commands.json from msbuild via ...
I'm looking for a way to integrate clang-tidy into a CI workflow, but the build system being used is MSBuild with dependencies managed...
Read more >How to generate compile_commands.json file? · Issue #1526
The command to run is something like node-gyp -- configure -f=gyp.generator.compile_commands_json , where the generator name should be a Python ...
Read more >How do I use compile_commands.json · Issue #6592
It sounds like you want to leverage a multi-config build, based on the command line you specified above (which passes in the variant...
Read more >scripts: add a tool to produce a compile_commands.json file
Many of these tools are based on LibTooling > (https://clang.llvm.org/docs/LibTooling.html), which depends on a > database of compiler flags.
Read more >Makefile Tools December 2021 Update: Problem Matchers ...
A common compilation database format is compile_commands.json, which contains command objects, one for each translation unit in the project.
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 FreeTop 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
Top GitHub Comments
Hi @FrancescElies
Good to hear that you got it working. I am now closing this issue. Thanks for reaching out to us and we hope you continue enjoying using Clang Power Tools.
Regards, Gabriel.
I will Give it another try on Monday. Thanks for your help.
Update: couldn’t keep my promise. This week won’t be trying this. Hopefully next Monday.