Re: Turn off precompiled header for one file?
Re: Turn off precompiled header for one file?
- Subject: Re: Turn off precompiled header for one file?
- From: Christiaan Hofman <email@hidden>
- Date: Fri, 14 Jan 2011 23:10:30 +0100
On Jan 14, 2011, at 19:15, John Weeks wrote: Is there a way to tell Xcode to not use the procompiled header for one of my .cpp files? I guess I could make a separate project and compile it into a library, but I was hoping for something short of that.
Regards, John Weeks
WaveMetrics, Inc. Phone (503) 620-3001 Fax (503) 620-6754 email email@hidden
A precompiled header is for a target, not a file, so the answer as such is no. What you could do though is make use of something like "#ifdef __OBJC__" or "#ifdef __cplusplus" in the precompile header, so that it's doing different things for C++ files.
Christiaan
|
_______________________________________________
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