Cmaker
Recursive make-operation for sprawling C++ projects.
Installation
pip3 install cmaker
Command line use
Consider a C++ application entry source code at main.cpp that includes headers from various folders. To automatically discover its dependencies and compile what is necessary, do:
makerc.py --input main.cpp --output app.exe
This should produce app.exe in the current directory.
Script use
import cmaker
maker = cmaker.Maker("<path-to-config>")
maker.make("<main>.cpp", "<out>")
Custom arguments
Copy the following contents of the configuration file into cmaker.config in the working directory:
c_ext = .cpp
obj_dirsep = .
obj_dir = dump
compile_cmd = g++ -MMD --coverage -c {inp} -o {out}
combine_cmd = g++ -MMD --coverage {inp} -o {out}
Change whatever your heart desires, but you MUST include the -MMD option for g++ to produce dependency files.
Release files for cmaker 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmaker-0.0.6.tar.gz | 4.6 kB | Details |
Release files / cmaker-0.0.6.tar.gz
| Download URL | cmaker-0.0.6.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39f131b2e6f005b5e89f8267daeedb201c5ddd8f9dc4832cd512691970ede392
|
|
BLAKE2b-256 checksum How to use checksums |
f7c9c69eda1648c33d09603faa711aedf3e7ad0de20a41f493229d7bc3228396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
|