3 ms·
The compile_commands.json is the compilation database used by clang tools[1]. If you use CMake, enabling CMAKE_EXPORT_COMPILE_COMMANDS basically does the same t
by Memosyne 6y ago
The compile_commands.json is the compilation database used by clang tools[1]. If you use CMake, enabling CMAKE_EXPORT_COMPILE_COMMANDS basically does the same thing[2].
1 - https://clang.llvm.org/docs/JSONCompilationDatabase.html https://clang.llvm.org/docs/JSONCompilationDatabase.html
2 - https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_CO...
- carapace 6y agoThank you!