Headermaker
Install:
Install processus if you HAVE the SUDO power:
git clone https://github.com/rmechety/Headermaker.git
cd Headermaker
make install
cd -
Install processus if you NOT HAVE the SUDO power and you have ZSH:
git clone https://github.com/rmechety/Headermaker.git
cd Headermaker
make installinpath
cd -
Usage:
Headermaker src_folder_you_want_to_parse header_name_you_want_to_create [-inc nameoftheheaderyouwanttoinclude ....]
A good idea can be to add a rule in your makefile like :
all : header
dothings
header :
@Headermaker src inc/prototypes.h -inc structs define
Like this you don't have to run the command every time you want to compile your project
How to change the 42Header:
go to src/main.cpp and look at the top of the file. change the HEADER define.
Enjoy!
if you have any question or bug ask it on github or contact me at mechety.rayan@gmail.com