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

Custom output path for compile_commands.json #217

Open
ikar49 opened this issue Sep 6, 2024 · 1 comment
Open

Custom output path for compile_commands.json #217

ikar49 opened this issue Sep 6, 2024 · 1 comment

Comments

@ikar49
Copy link

ikar49 commented Sep 6, 2024

Hello! Thank you for your project!

How about the possibility to set a custom path for the generated compile-commands.json?
Clangd supports this with the --compile-commands-dir parameter.

Motivation:

  1. We mount source directory by network sometime and want not to create a big files in this (size of our compile_commands.json around 5 Gib).
  2. We have a lot of projects in our monorepository and some of them use the root of monorepo as workspace root. Thus, compile_commands.json of these projects override each other.
@ikar49
Copy link
Author

ikar49 commented Sep 6, 2024

How I can see, PR #210 can solve our problem

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