cpp-merge
cpp-merge copied to clipboard
Chained including not supported
If top.cpp includes "a.hpp", and "a.hpp" include another "b.hpp" from another folder, it seems that b.hpp will not be found even if we set that path to it in "--include [b.hpp's path]".
Hello @RipperJ. Thank you for reporting the issue. Unfortunately, I couldn't reproduce the problem. I've added a new unit test for your scenario and I've found a minor bug which I've fixed. Could you please verify if files located in test/data/headerIncludeHeaderInSubdirectory
(https://github.com/FastAlien/cpp-merge/tree/master/test/data/headerIncludeHeaderInSubdirectory) are matching your scenario? Changes have been merged into the master branch.
Same problem here... I'm trying to use multiple include paths with no success.
Unfortunately I can't show output of my "include" paths because of NDA.