• 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: suppress prefix header?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suppress prefix header?


  • Subject: Re: suppress prefix header?
  • From: Hugh Hoover <email@hidden>
  • Date: Wed, 1 Mar 2006 20:00:33 -0800


On Mar 1, 2006, at 13:19, Chris Espinosa wrote:

On Mar 1, 2006, at 12:01 PM, Hugh Hoover wrote:
Is there some way to suppress the prefix header in the per-file overrides in a target?

Not really. The easiest way to do this might be to create a separate static library target for those files, build them without the precompiled prefix, and then link its build product with your main coode.


In general per-file build settings can only add settings, not remove or override target-level settings. And the prefix and precompile machinery is really baked in to the Xcode build mechanism, so overriding it will be rather tough.

The static library workaround was the one I used - I thought of that too as I was writing my message :) Anyway, it works fine, if slightly inelegantly.


I suppose that's one thing I'd complain about with XCode (generally an excellent IDE) - that the per-file overrides are strictly "compiler" options, rather than exactly the same options you have at the higher levels... I don't suppose that will change any time soon?

Visual Studio is better with respect to file overrides, but the .xcconfig in XCode2.2 is just SO MUCH BETTER than VS "Solution- >Project" that I'll just accept the workaround. I LOVE XCCONFIGS! a googal of THANK YOU's for that feature!
_______________________________________________
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: 
 >suppress prefix header? (From: Hugh Hoover <email@hidden>)
 >Re: suppress prefix header? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Where to look for dynamic code loading
  • Next by Date: Re: Where to look for dynamic code loading
  • Previous by thread: Re: suppress prefix header?
  • Next by thread: [Config Files] What can I really modify in a config file?
  • Index(es):
    • Date
    • Thread