-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
It would be lovely to automatically export a compile_commands.json
file to the build directory. This would make it easy for other tools to pick up the compile flags.
Possible Solution
No response
Additional Information
This can be done with CMake with the CMAKE_EXPORT_COMPILE_COMMANDS
option, or with bear
more generically.
The file spec is pretty simple, just a JSON list, one element per file, with a few fields.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request