• 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
How to build some files for some destinations/architecture only?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to build some files for some destinations/architecture only?


  • Subject: How to build some files for some destinations/architecture only?
  • From: Jean-Denis MUYS <email@hidden>
  • Date: Fri, 23 Sep 2011 13:42:53 +0000
  • Thread-topic: How to build some files for some destinations/architecture only?

How am I to setup my Xcode 4.x project so that some files are included in the build process of some destinations only?

I am facing this as I now have an ARM-specific assembly language implementation of a bottleneck function, which of course fails to assemble when building for the simulator.

I want to tell Xcode that  when building for the simulator, it should use the C implementation file (xxx.C), and when building for the device, it should use the ARM implementation (xxx.armv7.s), and perhaps someday, when building for Macintosh, to use the Intel implementation (xxx.i386.s).

As I am writing this, I realize that the dependency - in this precise case - is not so much on the destination, but on the current architecture.

So that's two questions, for the sake of completeness:

1- How am I to setup my Xcode 4.x project so that some files are included in the build process of some destinations only?
2- How am I to setup my Xcode 4.x project so that some files are included in the build process of some architecture only?

Thanks,

JD

 _______________________________________________
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

  • Prev by Date: Re: Build Universal 32/64 bit with XCode 3.2.6->no 64 bit
  • Next by Date: Re: How to build some files for some destinations/architecture only?
  • Previous by thread: Re: Interface Builder crashes on every other change to a XIB.
  • Next by thread: Re: How to build some files for some destinations/architecture only?
  • Index(es):
    • Date
    • Thread