IncList - List all #include
‘d files.¶
Command line tool to list included file paths
-
cpip.IncList.
main
()¶ Main command line entry point. Help:
Usage: IncList.py [options] files... Preprocess the files and lists included files. Options: --version show program's version number and exit -h, --help show this help message and exit -k Keep going. [default: False] -l LOGLEVEL, --loglevel=LOGLEVEL Log Level (debug=10, info=20, warning=30, error=40, critical=50) [default: 30] -n Nervous mode (do no harm). [default: False] -p Ignore pragma statements. [default: False] -I INCUSR, --usr=INCUSR Add user include search path. [default: []] -J INCSYS, --sys=INCSYS Add system include search path. [default: []] -P PREINC, --pre=PREINC Add pre-include file path. [default: []] -D DEFINES, --define=DEFINES Add macro defintions of the form name<=defintion>. These are introduced into the environment before any pre-include. [default: []]
-
cpip.IncList.
preProcessForIncludes
(theItu, incUsr, incSys, theDefineS, preIncS, keepGoing, ignorePragma)¶ Pre-process a file for included files.
-
cpip.IncList.
retIncludedFileSet
(theLexer)¶ Returns a set of included file paths from a lexer.