Skip to content

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

pythonScript

A collection of Python scripts designed to automate and streamline C++ development tasks, including class boilerplate generation and Makefile creation.


πŸ“ Project Overview

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 .cpp files in the current directory and subdirectories to build a valid compilation list.

πŸš€ Usage

1. Generate a C++ Class

To create a new C++ class with a header and source file:

python script.py ClassName

This generates:

  • ClassName.h
  • ClassName.cpp

Both files include basic class structure and default methods.


2. Generate a Makefile

To generate a Makefile that automatically includes all .cpp files in the current directory and subdirectories:

python script.py make

This will create a Makefile with:

  • Build rules for all .cpp files
  • Color-coded progress bar
  • Targets: all, clean, fclean, and re

🧰 Requirements

  • Python 3.x
  • C++ compiler (g++ or clang++)

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.


πŸ“¬ Contact

Maintained by Anzohs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages