• 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
sharing precompiled headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sharing precompiled headers


  • Subject: sharing precompiled headers
  • From: Jamie Zawinski <email@hidden>
  • Date: Tue, 7 Feb 2006 14:55:28 -0800

Hi,

I've got a project with multiple targets, and I'd like them to all share the same precompiled header. Right now, XCode 2.2 seems to be compiling the header once for each target.

The targets all have different -D settings in "Preprocessor Macros", so maybe that's why XCode thinks they each need a different pch? These defines are not ones that affect the headers, though, so it would be valid to share. Is there some way to tell it "share anyway"?

I've got what I think are all the default settings:

PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=yes
CONFIGURATION_BUILD_DIR=$(BUILD_DIR)/$(CONFIGURATION)
SHARED_PRECOMPS_DIR=/Library/Caches/com.apple.Xcode.$(UID)/ SharedPrecompiledHeaders
--
Jamie Zawinski email@hidden http://www.jwz.org/
email@hidden http://www.dnalounge.com/
http://jwz.livejournal.com/




_______________________________________________
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: sharing precompiled headers
      • From: Chris Espinosa <email@hidden>
    • Re: sharing precompiled headers
      • From: j o a r <email@hidden>
  • Prev by Date: Re: errno in debug vs. release
  • Next by Date: Re: errno in debug vs. release
  • Previous by thread: Re: Symbol LEHB0 already defined error with GCC 3.3...
  • Next by thread: Re: sharing precompiled headers
  • Index(es):
    • Date
    • Thread