Re: Counting header includes
Re: Counting header includes
- Subject: Re: Counting header includes
- From: Paul Sargent <email@hidden>
- Date: Fri, 14 Mar 2008 14:15:17 +0000
On 14 Mar 2008, at 13:31, Jeff Nordquist wrote:
I think there's an option in cpp to list the headers. You'll have
to munge those outputs as well.
Hi Philip,
Thanks for the response. I'm not sure where you're seeing this
option - do you mean a CPP group in the project settings somewhere?
Per-file settings? The closest setting I can see is "Scan All Source
Files for Includes", which sounds promising until you read the
description. :)
He means 'cpp' the unix command that Xcode uses.
If you put '-H' in the 'Other C Flags' field then as the compile
happens all the header files read will be output to the build results
console.
From the cpp man page ('man cpp')
-H Print the name of each header file used, in addition to
other
normal activities. Each name is indented to show how deep
in the
#include stack it is. Precompiled header files are also
printed,
even if they are found to be invalid; an invalid
precompiled header
file is printed with ...x and a valid one with ...! .
_______________________________________________
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