Skip to main content

Generates CMakeLists.txt files from arbitrary C/C++ codebases.

Project description


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.


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


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


  • 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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cmakerer, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cmakerer-1.1.1-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page