compiledb

Generate Clang compilation database for Make-based build systems

brewmacoslinux
Try with needOr install directly
Source

About

Generate a Clang compilation database for Make-based build systems

Commands

compiledb

Examples

Generate compilation database from make output$ compiledb make
Generate compilation database and save to custom file$ compiledb -o compile_commands.json make
Generate database from existing build log file$ compiledb < build.log