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

Enable CMAKE_EXPORT_COMPILE_COMMANDS #7804

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

rubiefawn
Copy link
Contributor

This setting instructs CMake to generate compile_commands.json for use with clangd. This is useful for those of us who don't use an IDE, and doesn't place any significant strain on the build system, since it's just CMake writing down stuff it already has to compute in the first place.

Enabling this is already possible when invoking cmake by passing -DCMAKE_EXPORT_COMPILE_COMMANDS=ON, but I'm sick of typing that out, lmao

This setting instructs CMake to generate compile_commands.json for use
with clangd.
@tresf tresf merged commit 91233e6 into LMMS:master Mar 22, 2025
10 checks passed
@rubiefawn rubiefawn deleted the cmake-export-compile-commands branch March 22, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants