-c, --configuration=<file>
Optional argument, used to specify a configuration XML file containing options.
-v, --version
Show version information
-V, --verbose
Show more output while processing files. This will show each tag that it finds from each #include.
-D, --directory=<directory>
Specify directory to check. Checks all code files in the directory recursively: .cpp, .cxx, .c, .cc, .h, .hpp, .inl. When --directory
is not specified, all extra arguments on the command line are parsed as files that need to be checked.
-x, --xmloutput=<file>
Specify file for xml output. This can be used to process the results of IncludeChecker, for example to remove all unused includes.
-I, --includepath=<directory>
Specify include path, multiple include paths can be given by passing in -I
multiple times.
-E, --excludepath=<file or directory>
Specify header file or directory to ignore, multiple exclude paths can be given by passing in -E
multiple times.
-i, --interfaceheader=<file>
Mark header file as interface header, multiple interface headers can be specified.
-t, --type_alias_prefix=<string>
Specify a prefix for type aliases.
-T, --type_alias_suffix=<string>
Specify a suffix for type aliases.
IncludeChecker -I c:\dev\foo\include -I c:\dev\bar\include -t r -t rc -T Ptr -T Ref test.cpp