Skip to content

build: enable compile_commands.json - #15

Closed
ndiuky wants to merge 1 commit into
aui-framework:masterfrom
ndiuky:master
Closed

build: enable compile_commands.json#15
ndiuky wants to merge 1 commit into
aui-framework:masterfrom
ndiuky:master

Conversation

@ndiuky

@ndiuky ndiuky commented Sep 7, 2026

Copy link
Copy Markdown

This allows clangd to correctly detect the project's compiler flags, include paths, C++ standard, and other build configuration.

@Nelonn

Nelonn commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

for what? just use -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

@ndiuky

ndiuky commented Sep 7, 2026

Copy link
Copy Markdown
Author

its needed for nvim clangd integration compile_commands.json allows clangd to pick up the project's compiler flags, include paths, and C++ standard for proper completion and diagnostic

and you right, i can just enable it via the CMake configuration flag

@Nelonn Nelonn closed this Sep 7, 2026
@Nelonn

Nelonn commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Integration with clangd should happen at the user level, so I'm closing this

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