Skip to content

Instantly share code, notes, and snippets.

View fsimonis's full-sized avatar

Frédéric Simonis fsimonis

View GitHub Profile
@fsimonis
fsimonis / README.md
Created November 19, 2024 10:03
Tool to expand CMake unity builds for clangd support

deunify

This tool exands the compile_commands.json of unity build files generated by CMake to enable clangd support.

Without this, clangd doesn't know what to do with the compilation units.

Default file is compile_commands.json in the current working directory. Outputs to console by default. Use -i to update in-place.

To use: