Skip to main content

CMakerer

This script generates CMakeLists.txt from arbitrary C/C++ codebases. It is not intended to produce "buildable" cmake configurations, but instead enable CLion to load and index the code.

Installation

pip3 install --user cmakerer
python3 setup.py sdist bdist_wheel
pip3 install --user dist/cmakerer-*.whl

Usage

cmakerer -o ~/path/to/cpp/code/CMakeLists.txt -x src/windows -! tests -z ~/path/to/cpp/code

Features

  • Detects both standard and system include paths.
  • Handles "multi-encoding" C/C++ files
  • Exclude directory paths with -x
  • Exclude (sub)directory segments with -!
  • Exclude cmake directories with -z
  • Add compiler defines with -DVAR or -DVAR=value
  • Deterministically add and remove paths with -I/-S/-R

Metadata

Release files for cmakerer 1.3.2

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

Source distribution (sdist)

Source distribution for cmakerer 1.3.2
File Size Uploaded Provenance Actions
cmakerer-1.3.2.tar.gz 7.8 kB Without provenance Details for cmakerer-1.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cmakerer 1.3.2
File Interpreter ABI Platform Actions
cmakerer-1.3.2-py3-none-any.whl Python 3 none any Details for cmakerer-1.3.2-py3-none-any.whl

Total release size: 16.2 kB

Release files / cmakerer-1.3.2.tar.gz

Download URL cmakerer-1.3.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
63aba0e790f7a3168f71f3711ed76b5c1f768dd5994371874693574e33f00e82
BLAKE2b-256 checksum
How to use checksums
932b76d747537b3e9f83672379360639ad88c9aaa89b7cca65972b17e6d2d6a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / cmakerer-1.3.2-py3-none-any.whl

Download URL cmakerer-1.3.2-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ab105a2c0d15bedfba7bb9d20ae44ea3ce8adb463a109f8327ada1da37aac09
BLAKE2b-256 checksum
How to use checksums
633533b2e4d8e75f08b1e9a0c41025ee1cafd4d0b633ddc97cb7cd2c2f80c3da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for cmakerer 1.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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