Looking through the MSDN, I would say no; however, I thought I would ask here before I give up.
Is there a preprocessor option for Visual Studios that displays when a header file is included? Specifically, I’m looking for something similar to /verbose:lib described in the link below.
http://msdn.microsoft.com/en-US/library/wdsk6as6%28v=VS.80%29.aspx
The switch
/showIncludes(List Include Files) is what you are looking for, as documented in MSDN. Here is a sample of the output produced by that switch:Given the file main.c, consisting of:
and the file foo.h, consisting of:
The output produced is: