Skip to main content

# 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

```shell
$ 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:

```shell
$ gcdb 'make clean && make'
```

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

Home-page: https://github.com/kylef/gcdb
Author: Kyle Fuller
Author-email: kyle@fuller.li
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.

Source Distribution

gcdb-0.1.3.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

gcdb-0.1.3-py2.py3-none-any.whl (2.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gcdb-0.1.3.tar.gz.

File metadata

  • Download URL: gcdb-0.1.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gcdb-0.1.3.tar.gz
Algorithm Hash digest
SHA256 87370f734cafa189537cb8d54fd3c50161a961a12abe5fc8a4f017565852db6e
MD5 e49e81ac5a0af0ae271e87c459439653
BLAKE2b-256 2478b6b5486fb02e77ea12f7334fd67abfcd489a62a273c4ac66a5d51c2df9ed

See more details on using hashes here.

File details

Details for the file gcdb-0.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gcdb-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 66e912abac26f1e51054e20c8b7415db8e558db3bab4acc3b16f2fedeaa9340c
MD5 04faa5954a1d092f0d5d06a281008b9d
BLAKE2b-256 7ebbb2213292cdf33668d6fa9afc97607590e626354532bcf5032312997cb871

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page