Re: gcc 3.3, Precompiled Headers and Project Builder
Re: gcc 3.3, Precompiled Headers and Project Builder
- Subject: Re: gcc 3.3, Precompiled Headers and Project Builder
- From: Jeff Harrell <email@hidden>
- Date: Mon, 7 Jul 2003 23:09:11 -0500
On Monday, July 7, 2003, at 11:00 PM, Andrew Thompson wrote:
So my question is, has anyone figured out how to do 2 and 3 yet?
Yup.
Can it be done without altering the JAM stuff?
Yup.
What about the Cocoa/Carbon frameworks? It seems precompiled headers
are not installed for those...?
Nope. But if you're willing to live with a little extra compile time
the first time you build your project, we can get around that.
The short version is that you can create a legacy makefile target that
creates and maintains a precompiled version of your project's prefix
header. Then make your normal target(s) dependent on this PCH target.
The long version (although not exactly a complete or well-written one)
is here:
http://www.cocoadev.com/
index.pl?UsingPCHWithGCCThreeThreeAndProjectBuilder
--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.