This is a cli-application providing function like g++ -E
. However, unfoldcpp only gathers included files with quotation marks like #include "hoge.h"
recursively.
If you want to use, please follow this instructions.
- Clone this repository
git clone [email protected]:comavius/unfoldcpp-cli.git
- Build golang project
cd /path/to/cloned/repo make
- Add
/path/to/here
toPATH
ormv
executable to directory you like. - Check if unfoldcpp is installed successfully.
unfoldcpp help
unfoldcpp unfold /path/to/main.cpp > path/to/unfolded.cpp