Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use compilation database in project root #17

Open
jsy1001 opened this issue Mar 12, 2021 · 0 comments
Open

Use compilation database in project root #17

jsy1001 opened this issue Mar 12, 2021 · 0 comments

Comments

@jsy1001
Copy link

jsy1001 commented Mar 12, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant