Re: suppress prefix header?
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