compile_commands.json generation for SCons build system
Project description
SCons Compilation DB support
scons-compiledb adds a support for generating JSON formatted compilation database defined by Clang.
The main functionality of scons-compiledb is based on the version in MongoDB.
Features:
- Multiple construction environments support.
- Merging of compile_commands.json.
- Simple customisation for DB entry generation.
- DB generation with --compiledb command line option.
- Installation with PyPI
Installation
Install and update using pip
pip install scons-compiledb
Usage
In Scons script, enable generation:
import scons_compiledb
env = DefaultEnvironment() # Or with any other way
scons_compiledb.enable_cmdline(env)
#
# ... Use env normnally ...
#
Generate compile_commands.json by invoking SCons with --compiledb command line option:
$ scons --compiledb
...
Check compilation DB : compile_commands.json.pickle
Update compilation DB: compile_commands.json
scons: done building targets.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scons-compiledb-0.2.2.tar.gz.
File metadata
- Download URL: scons-compiledb-0.2.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33e3f03d1471c1ea545c1ee2c5a1aef727b7a032a990ce087e49cdc44204cba2
|
|
| MD5 |
f91ce457ec1f6fd0e916da0da942e566
|
|
| BLAKE2b-256 |
5498a2341275a577643bffd22ed02d8715136aa8a7611f4b2554b591f5cc6c8b
|
File details
Details for the file scons_compiledb-0.2.2-py3-none-any.whl.
File metadata
- Download URL: scons_compiledb-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c61f4be18bbce7e23c960e03ef7b0a9695eef4d8b7c3cf4a054c85e8523cce92
|
|
| MD5 |
afd1213b783a681bc641564dc514de4a
|
|
| BLAKE2b-256 |
ab4ed85502bd7dec1fc5dc94aa689d3ab563cec3e1b36e201bd5c454423cef78
|
File details
Details for the file scons_compiledb-0.2.2-py2-none-any.whl.
File metadata
- Download URL: scons_compiledb-0.2.2-py2-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c47e1a843ea6238a84915c03d48956639278a0a770fe0c668df8c9fbd9000e8d
|
|
| MD5 |
1a6970088c5a4399cf8eccc2e0dfd1cc
|
|
| BLAKE2b-256 |
7be5f94a0940dd6f1f3f5dae73087c29b3e6ebb1cde7876033c47c2cc99ed4cd
|