|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
/showIncludes (List Include Files)
Causes the compiler to output a list of the include files. Nested include files are also displayed (files that are included from the files that you include).
When an include file is encountered during compilation, a message is output, for example:
Note: including file: d:\MyDir\include\stdio.h
Nested include files are indicated by an indentation, one space for each level of nesting, for example:
Note: including file: d:\temp\1.h Note: including file: d:\temp\2.h
In this case, 2.h was included from within 1.h, hence the indentation.
The /showIncludes option emits to stderr, not stdout.
To set this compiler option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see.
Click the C/C++ folder.
Click the Advanced property page.
Modify the Show Includes property.
To set this compiler option programmatically