An open API service indexing awesome lists of open source software.

https://github.com/thoren-d/compdb-bazel

A crude script to generate compile_commands.json for bazel C++ targets.
https://github.com/thoren-d/compdb-bazel

bazel compilation-database

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.