Use compilation database in project root
jsy1001 opened this issue · 0 comments
jsy1001 commented
I am wondering if its possible to configure flycheck-clang-analyzer to pass arguments to clang to tell it to read compile_commands.json
in the project root directory. Configuring static arguments seems straightforward, but I would ideally like to determine the project root directory on the fly (e.g. using projectile) and tell clang to look there for the compilation database. Any suggestions would be much appreciated.