I'm using some open source (MIT license) project that's composed of headers only. I'm using only a small fraction of what this project has to offer, and I'd hate to include all the headers in my project for no reason. I created a sample project and included the open source project in it. Is there any way to get a list of all the headers used by my sample project?
To clarify, in my sample project I have:
#include "opensourceMainHeader.h"
and opensourceMainHeader.h
has:
#include "opensourceAuxiliaryHeader1.h"
#include "opensourceAuxiliaryHeader2.h"
#include "opensourceAuxiliaryHeader3.h"
And so on. Then I'd like to get (I'm guessing from the linker or some other tool chain in VC++) the list of headers that are used.
Is that possible?