Is there a command line tool to automatically generate a .h from its .cpp or .c?
It seems like a very obvious thing to do, I don't know why it never dawned on me before now...
Of course, in the .h there should be more things than just function prototypes, so the tool could be non-trivial. Or could be trivial, requiring you to include two .h: the generated one and the custom one.
Anyway, I'd rather avoid reinventing the wheel, that's why I'm asking if it already exists.
Here you go:
http://www.hwaci.com/sw/mkhdr/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With