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 .clangd configuration #118

Open
naseer-nv opened this issue Nov 16, 2023 · 2 comments
Open

Use .clangd configuration #118

naseer-nv opened this issue Nov 16, 2023 · 2 comments

Comments

@naseer-nv
Copy link

Sometimes compile commands need to be adjusted if we are cross compiling. Clangd handles this by adding/removing flags in .clangd in the project or in a global config.yaml file. More details here
Filing this bug to see if codebrowser can also use the same extra config when processing the compile_commands.json

@Waqar144
Copy link
Collaborator

Waqar144 commented Nov 17, 2023

Atm there is no such feature.

But its trivial to post-process a compile_commands.json file and add what you need before triggering generation.

@naseer-nv
Copy link
Author

Yes - it is straightforward to do so - just a minor feature request :)

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

2 participants