visual c++ - How to find what headers my C++ application is using? -
this question has answer here:
- list of header files included c file 3 answers
i'm using open source (mit license) project that's composed of headers only. i'm using small fraction of project has offer, , i'd hate include headers in project no reason. created sample project , included open source project in it. there way list of headers used sample project?
to clarify, in sample project have:
#include "opensourcemainheader.h"
and opensourcemainheader.h
has:
#include "opensourceauxiliaryheader1.h" #include "opensourceauxiliaryheader2.h" #include "opensourceauxiliaryheader3.h"
and on. i'd (i'm guessing linker or other tool chain in vc++) list of headers used.
is possible?
there project setting in vs can this. go property pages project, configuration properties | c/c++ | options
. enable show includes
options. build project, , examine output. /showincludes
option.
Comments
Post a Comment