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.
- Host: GitHub
- URL: https://github.com/thoren-d/compdb-bazel
- Owner: thoren-d
- Created: 2019-11-10T01:23:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T03:09:05.000Z (over 6 years ago)
- Last Synced: 2025-03-17T02:48:20.638Z (about 1 year ago)
- Topics: bazel, compilation-database
- Language: Python
- Size: 364 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.