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

GCC-friendly compile_commands.json maker #118

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

PikalaxALT
Copy link
Collaborator

No description provided.

@mid-kid
Copy link
Member

mid-kid commented Nov 27, 2023

Assuming this is for an IDE, can't a meson plugin be figured out? Either by making compile_commands call meson/ninja or by providing a configuration for such a plugin.

This copies a lot of the behavior from meson.build, and I fear they will get out of sync.

@mid-kid
Copy link
Member

mid-kid commented Nov 27, 2023

The meson files might need to support building with clangd but that's something that would need to happen anyway.

Copy link
Collaborator

@lhearachel lhearachel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging this in for now; I'll investigate the usage of a Meson plugin for the various major editors (primarily looking at VSCode, CLion, [neo]vim, and [Doom ]emacs).

@lhearachel lhearachel merged commit b6626c5 into main Jan 31, 2024
1 check passed
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
@lhearachel lhearachel deleted the feature/clangd_compatible_compile_commands branch November 1, 2024 17:24
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.

3 participants