CPIPMain.py -l20 -o ../../demo/output -J ../../demo/sys/ -I ../../demo/usr/ ../../demo/src/main.cpp
| Option | Value | Description |
|---|---|---|
| --heap | False | Profile memory usage. |
| -C/--CPP | False | Sys call 'cpp -dM' to extract and use platform specific macros. These are inserted after -S option and before the -D option. |
| -D/--define | Add macro definitions of the form name<=definition>. These are introduced into the environment before any pre-include. |
|
| -G | False | Support GCC extensions. Currently only #include_next. |
| -I/--usr | ../../demo/usr/ | Add user include search path. |
| -J/--sys | ../../demo/sys/ | Add system include search path. |
| -P/--pre | Add pre-include file path, this file precedes the initial translation unit. |
|
| -S/--predefine | Add standard predefined macro definitions of the form name<=definition>. They are introduced into the environment before anything else. They can not be redefined. __DATE__ and __TIME__ will be automatically allocated in here. __FILE__ and __LINE__ are defined dynamically. See ISO/IEC 9899:1999 (E) 6.10.8 Predefined macro names. |
|
| -c | False | Add conditionally included files to the plots. |
| -d/--dump | Dump output, additive. Can be: C - Conditional compilation graph. F - File names encountered and their count. I - Include graph. M - Macro environment. T - Token count. R - Macro dependencies as an input to DOT. |
|
| -g/--glob | *.* | Pattern match to use when processing directories. |
| -j/--jobs | 0 | Max simultaneous processes when pre-processing directories. Zero uses number of native CPUs [4]. 1 means no multiprocessing. |
| -k/--keep-going | False | Keep going. |
| -l/--loglevel | 20 | Log Level (debug=10, info=20, warning=30, error=40, critical=50) |
| -o/--output | ../../demo/output | Output directory. |
| -p | False | Ignore pragma statements. |
| -r/--recursive | False | Recursively process directories. |
| -t/--dot | False | Write an DOT include dependency table and execute DOT on it to create a SVG file. |