Project Home


Table of Contents


Process a C/C++ file as if to pre-process it, only processing include directives for a single include directory. This effectively generates one very large include file that can be included instead of the given file.

Argument file is the file to be processed. Optional argument root-dir is the directory relative to which the included files will be pasted in.

This also implicitly includes any file once only.


flatten-baden [<options>] <header-file> [<root-dir>]

Please Donate!


This computer program or library is provided for free. I am aware that some of the programs that I provide for free allow people to get their work done faster or better, save them time and money. If you are using this program for benefit, especially if you are using it within a commercial environment and it saves you time or work, please consider making a donation by sending me a book from my Amazon Wishlist or by a direct donation to my company's PayPal account by clicking on the link below.


Download program here.