Xcode and pre-compiled headers
Xcode and pre-compiled headers
- Subject: Xcode and pre-compiled headers
- From: "Kirk A. Baker" <email@hidden>
- Date: Mon, 10 Nov 2003 13:52:59 -0800
I have some questions about pre-compiled headers in regards to a
project I am working on.
The code is a mix of C, C++, Obj-C, and Obj-C++. I would like to make
a pre-compiled header to speed up our builds. Ideally we would include
most of the headers that don't often change in our project. The main
improvements would be to pull in the Carbon headers, and the Cocoa
headers, some of STL, and even some Boost headers.
How can I do that in one pre-compiled header for all of the various
source file types (listed above)? Can I instead have more than one
pre-compiled header?
In the GCC documentation, I saw that the compiler settings for
pre-compiling the headers should be as similar to the settings used to
compile the rest of the project, but in some instances I want to crank
up the optimizations and in others I want milder optimizations. Is it
possible to turn off the use of a pre-compiled header for an individual
file?
I'm sorry if these questions have been asked before, but I didn't see a
way to search the mailing list archives yet.
Thanks,
-Kirk
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.