How to build some files for some destinations/architecture only?
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