thoren-d / compdb-bazel

A crude script to generate compile_commands.json for bazel C++ targets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bazel Compilation Database

generate_compilation_database.py takes a bazel target (or target group like //...), and outputs a clang compilation database at "compile_commands.json".

Uses aquery to get the commands used to build the targets.

About

A crude script to generate compile_commands.json for bazel C++ targets.


Languages

Language:Python 71.8%Language:C++ 28.2%