Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

# Generate Compilation Database

Project description

GCDB is a tool to wrap your ordinary build system by overriding `CC` and `CXX`
to allow it to introspect the build process to be able to generate a JSON
Compilation Database which can be used with other tools like `clang-tidy`.

## Installation

$ pip install gcdb

## Usage

Run `gcdb` passing in the commands to build your code. You want to ensure the
entire sources are built so its important to clear any prior caches. For
example, if you use `make` to build your code:

$ gcdb 'make clean && make'

NOTE: Currently the passed command cannot run concurrently, so you cannot pass
`-j` to `make or similiar tools.

Author: Kyle Fuller
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gcdb, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size gcdb-0.1.3-py2.py3-none-any.whl (2.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size gcdb-0.1.3.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page