linter-clang
linter-clang copied to clipboard
Support build directory
I currently use cmake and the convention is to use a build directory. As a result the compile_commands.json
file is placed in the build directory and not the project root.
It would be nice it we could specify a path to look for the compile_commands.json
file.
Any progress on this? Would really like to see this feature.
Considering that CMake is one of the most spread build systems, and out-of-tree compilation is very common, looking for the compile_commands.json
file in the ${PROJECT_SOURCE_DIR}/build
directory would be a great feature.
+1
This sounds like it would actually be better filed on clang-flags as that is what is used to bring in support for automated arguments to clang
.