CLI to generate cmake project
cmaker name_of_the_project
Creates an executable cmake project
cmaker name_of_the_project -l
Creates a static library cmake project
cmaker name_of_the_project -s 11
Creates an executable cmake project with C++11 standard
cmaker name_of_the_project -cv 3.24
Creantes an executable cmake project with cmake version 3.24
To install
- Clone the repository and navigate there.
- Open your terminal and type
git clone https://github.com/mr-gri3ves/cmaker.git
cd cmaker
sudo chmod +x generator.py
sudo mkdir -p ~/.local/share/cmaker
sudo cp -r templates ~/.local/share/cmaker
sudo cp generator.py /usr/bin/cmaker
cd .. && sudo rm -r cmaker
- After that open and close the terminal and type
cmaker -h
and see help
To uninstall
Open your terminal and type
sudo rm -r ~/.local/share/cmaker
sudo rm /usr/bin/cmaker