Counting header includes
Counting header includes
- Subject: Counting header includes
- From: Jeff Nordquist <email@hidden>
- Date: Fri, 14 Mar 2008 07:27:02 -0500
Greetings,
I'm looking for a way to count the number of times we try to include
headers during the course of a build. We have a legacy project with
roughly 1000 files and some gnarly interdependencies among the
headers. I bet some headers are being included far more often than
necessary. Of course we have everything wrapped in compile guards, but
a rearrangement of some of the code could ease build times considerably.
The closest thing I've seen is in Visual Studio, where you can turn on
"Show Includes" for a project. In the past I've taken that output,
reformatted it and sorted it in Excel to see which headers get used
the most.
Is there an analogous setting in Xcode? Or perhaps, does someone know
of a clever macro I could put in a header (before the compile guard)
to generate a count during the build?
Thanks,
Jeff Nordquist
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden