PDA

View Full Version : Precompiled headers for an XCode project with Objective-C AND C++ code?


arrelid
2006.09.15, 10:02 AM
Hi there,

I'm slowly advancing in the Xcode area, and still have much to learn. For example, I'd love to represent some basic objects with C++ classes, and then use these classes inside some of my Objective-C classes.

Now, I do wonder if there is an option to use precompiled headers for not only my Objective-C files, but also my C++ files? It would truly be nice to be able to include all those GL related files at one place, instead of inside every freaking file.

I've taken a look at OneSadCookie's Writing Precompiled Headers for Xcode, http://tips.onesadcookie.net/tips/published/Writing+Precompiled+Headers+for+Xcode, but it doesn't seem to work for me.

From what I understand, I should be able to include all those GL related header files inside my precompiled headers file?