Skipping a target based on host architecture
Skipping a target based on host architecture
- Subject: Skipping a target based on host architecture
- From: Andrew Kimpton <email@hidden>
- Date: Wed, 14 Nov 2007 15:32:48 -0500
I have a target in one of my sub-projects which is only built for i386
(it's just not appropriate on ppc machines) I do this by setting all
the config. variants (Debug/Release etc.) to use i386 as the only
architecture choice ('DEFAULT_ARCH' doesn't appear).
In general the debug config build's only for 'native arch' so when the
top level project triggers a dependent build of this project it's
attempting to link the debug i386 code against libraries which only
contain debug ppc code. This of course fails.
Is there a way to simple 'skip' this target ? I don't want to have to
build the dependent libraries both ways in a debug config. If I can
avoid it since they're pretty large and it seems wasteful on a
developers machine to build stuff that's not used. Per-architecture
build settings seem like they should help (though an Xcode 2.x
solution to this would be great!) however there doesn't seem to be a
per-architecture 'don't bother' setting.
Any suggestions ?
Thanks
Andrew 8-)
_______________________________________________
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