• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to handle precompiled headers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to handle precompiled headers?


  • Subject: How to handle precompiled headers?
  • From: Bengt Nilsson <email@hidden>
  • Date: Sun, 26 Aug 2007 18:12:54 +0200

Hi!

I am trying to change the name of a precompiled header for a xcodeproject that I have copied from a "framework demo".
I want to use a different name and location for this file.
But no matter what I do, it always gives an error: file oldname_Prefix.pch not found.
I have been searching through the project for where this is defined, but I can't find it.
The Xcode help on how to create and use pch's (setting GCC_PREFIX_HEADER and GCC_PRECOMPILE_PREFIX_HEADER ) does not help, there is no reaction at all if I impement the instructions there.

If I open the project bundle and look with a text editor inside project.pbxproj, I see 

GCC_PREFIX_HEADER = Oldname_Prefix.pch;, 

for the different configurations, but I cannot figure out how to reach them using the normal project interface. Changing them by find/replace inside project.pbxproj is cheating!

If I Edit Build/Prefix Header it just says $(inherited) for all configurations. Inerited from what?

Hints, anyone?

bnilsson


 _______________________________________________
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

  • Follow-Ups:
    • Re: How to handle precompiled headers?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: ZeroLink: unknown symbol
  • Next by Date: Re: How to handle precompiled headers?
  • Previous by thread: Re: palette question revised...
  • Next by thread: Re: How to handle precompiled headers?
  • Index(es):
    • Date
    • Thread