dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
184 stars 80 forks source link

.gitignore: ignore compile_commands.json and .cache #126

Open maribu opened 1 year ago

maribu commented 1 year ago

compile_commands.json (e.g. as generated with bear -- make) contains the exact commands used for building the binary including compiler flags such as include paths and warnings. It is useful for LLVM based tools for code completion / linting / ... such as clangd, as they then find the headers included. There is little reason in tracking this file, as it can be generated from the Makefile with bear.

.cache is a folder generated by clangd to speed up code completion, linting, etc.