Skip to content

Add compile_commands.json to the .gitignore file #455

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

gorbit99
Copy link
Contributor

The compile_commands.json file helps certain tools, for example clangd while locating symbols and the like, and platformio can helpfully generate one. Normally you wouldn't necessarily want to gitignore it, but since we have several different targets with several different toolchains and platforms, using it would often change it unnecessarily. Because of this I added it to the .gitignore file.

@gorbit99 gorbit99 requested a review from Eirenliel as a code owner May 29, 2025 14:47
@Eirenliel Eirenliel merged commit ec8c530 into main May 29, 2025
4 checks passed
@Eirenliel Eirenliel deleted the add-compile-commands-to-gitignore branch May 29, 2025 15:02
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

Successfully merging this pull request may close these issues.

2 participants