Skip to content

hrant-nurijanyan/cmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmaker

CLI to generate cmake project

Usage

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

Linux

To install

  1. Clone the repository and navigate there.
  2. 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
  1. 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

About

Python file which generates a cmake project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published