Re: What causes this and how can I fix it ?
Re: What causes this and how can I fix it ?
- Subject: Re: What causes this and how can I fix it ?
- From: "Isaac Wankerl" <email@hidden>
- Date: Fri, 21 Apr 2006 08:53:17 -0500
On 4/20/06, Steve Mills <email@hidden> wrote:
> On Apr 20, 2006, at 19:53:39, Alec Carlson wrote:
>
> > I have a project with 6 targets. If I build one of the targets, Xcode
> > insists on recompiling my precompiled header multiple times:
> >
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
> > Precompiling Sources/includes/myproject_prefix.h
>
> It will compile one for each architecture, so if you're build a
> Universal binary, that's one for PPC and one for i386. It will also
> compile one for each language. Check the comment on the "C Dialects
> to Precompile" in your project or target settings, which lists 4
> dialects; 'c', 'objective-c', 'c++', and 'objective-c++'. So if you
> have source files for each of those languages and are building both
> architectures, that's 8 pch files.
And if you have any file specific build flags set, then separate
precompiled headers will be generated for those unique options.
Isaac
_______________________________________________
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