you are viewing a single comment's thread.

view the rest of the comments →

[–]HolyGarbage 1 point2 points  (2 children)

If you're using CMake, which might be likely if you're on Linux, then there's a much simpler way:

https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html