• 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
Re: Turn off precompiled header for only a few files in a project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turn off precompiled header for only a few files in a project


  • Subject: Re: Turn off precompiled header for only a few files in a project
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 18 May 2007 15:30:52 -0700


On May 18, 2007, at 2:25 PM, steve lu wrote:

Is it possible to turn off using precompiled header (prefix file) for a few selected file in a large XCode project/target?

(Similar to .NET Visual Studio which lets you specify use or not use precompiled header on a per file basis.)


No, prefix files (and precompiled headers, if used) apply uniformly to all source files in a target.  You can create a separate target to build a Static Library, set it up to not use precompiled headers, and link the result in with your main target.

Chris
 _______________________________________________
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

References: 
 >Turn off precompiled header for only a few files in a project (From: steve lu <email@hidden>)

  • Prev by Date: Turn off precompiled header for only a few files in a project
  • Next by Date: Unit tests & Errors and Warning smart fileter
  • Previous by thread: Turn off precompiled header for only a few files in a project
  • Next by thread: Unit tests & Errors and Warning smart fileter
  • Index(es):
    • Date
    • Thread