Can I remove Prefix.pch?
Can I remove Prefix.pch?
- Subject: Can I remove Prefix.pch?
- From: Bob Ueland <email@hidden>
- Date: Fri, 27 Jul 2007 03:11:08 -0700 (PDT)
I created a new Cocoa application called prog3, and noticed that the following file resides in the "OtherSources" folder:
prog3_Prefix.pch. The file contains this the following text:
// Prefix header for all source files of the 'prog3' target in the 'prog3' project
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
In ADC Home > Reference Library > Guides > Tools > Xcode > Xcode 2 User Guide > Optimizing the Edit-Build-Debug Cycle >
there is a section called “Using a Precompiled Prefix Header” which says “A precompiled header is a file… used by the compiler to compile a source file. Using precompiled headers, you can significantly reduce the amount of time spent building your product. "
Now I’m just learning the basics of Objective-C using Kochan’s book “Programming in Objective-C” and I’m not interested in the fast compilation for the time being. Is there a way for me to remove this file for all my new projects and is it safe to do so?
In one of the older post I found the following sentence: “ To turn it off, open your project's target settings, find the GCC compiler settings, and uncheck the "precompile" check box.” I could not find any such thing, maybe because this post is from 2003.
BTW why is it called Prefix.pch. A prefix is something you add in front of a word, and what does pch stand for (I guess precompiled header, but I’m usually lousy when it comes to guessing what abbreviations stand for).
Thanks for your help
Bob
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden