• 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
Skipping a target based on host architecture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Skipping a target based on host architecture
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Heads up: Code generation bug
  • Next by Date: Re: Still no "View as array..."? Expressions window (still) broken...
  • Previous by thread: Heads up: Code generation bug
  • Next by thread: Re: Skipping a target based on host architecture
  • Index(es):
    • Date
    • Thread