A collection of Python scripts designed to automate and streamline C++ development tasks, including class boilerplate generation and Makefile creation.
This repository provides automation tools for:
- Generating C++ header (
.h) and source (.cpp) files with constructors, destructors, and assignment operators. - Creating a customizable Makefile that includes a colorful progress bar for compiling C++ projects.
- Scanning
.cppfiles in the current directory and subdirectories to build a valid compilation list.
To create a new C++ class with a header and source file:
python script.py ClassNameThis generates:
ClassName.hClassName.cpp
Both files include basic class structure and default methods.
To generate a Makefile that automatically includes all .cpp files in the current directory and subdirectories:
python script.py makeThis will create a Makefile with:
- Build rules for all
.cppfiles - Color-coded progress bar
- Targets:
all,clean,fclean, andre
- Python 3.x
- C++ compiler (
g++orclang++)
This project is licensed under the MIT License. See the LICENSE file for details.
Maintained by Anzohs.