To use cpip in a project:
Have a read of the CPIP Tutorials for how you can use CPIP programatically. In there is a tutorial on how to use the
PpLexer that is the equivalent of
cpp: PpLexer Tutorial. There is also the FileIncludeGraph Tutorial showing how you can analyse how
#include‘d files are processed. This is very useful for undestanding file dependencies.