Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow CMake to generate compile_commands.json automatically in the bu…
…ild dir Some editors rely on clangd for autocompletion. In those cases clangd will look for a compile_commands.json file in the root of the repository to obtain the list of flags used for compilation and the INCLUDEPATH for each file. This commit allows CMake to automatically generate such file in the designated build folder. To enable clangd to use that file, simply link it in the root of the project repository. The link will be ignored by git.
- Loading branch information