visual c++ - How to find what headers my C++ application is using? -


this question has answer here:

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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -