Git: ignore compile_commands.json
The guide for using clang suggests to link the `compile_commands.json` file into the source repo to make it easier for clangd to find it. This works well in my test but has the problem that git wants to track that file. This patch adds the `compile_commands.json` file to `.gitignore` to avoid committing it accidentally. Pull Request: https://projects.blender.org/blender/blender/pulls/132796
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -74,3 +74,7 @@ waveletNoiseTile.bin
|
||||
CMakeSettings.json
|
||||
CMakePresets.json
|
||||
CMakeUserPresets.json
|
||||
|
||||
# Compile commands generated by CMake that may be linked into the source code
|
||||
# folder to make it easier for tools like clangd to discover.
|
||||
compile_commands.json
|
||||
|
Reference in New Issue
Block a user