Skip to main content

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.

Metadata

Release files for cmaker 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmaker 0.0.5
File Size Uploaded
cmaker-0.0.5.tar.gz 4.6 kB Details

Release files / cmaker-0.0.5.tar.gz

Download URL cmaker-0.0.5.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f07802e154091820f926dd6a384c8c3085e00f8f7f8faa5f3eac0b3727fee53
BLAKE2b-256 checksum
How to use checksums
ad00bc9b129ffc55167e02a7cc8d7db4ca7df55bea9877fea8b5d3fe2c017e75
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

Release history Release notifications | RSS feed

0.0.6

1 release file

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page