Per architecture file subsets in a Compile files build phase
Per architecture file subsets in a Compile files build phase
- Subject: Per architecture file subsets in a Compile files build phase
- From: Daniel Rodriguez TroitiƱo <email@hidden>
- Date: Tue, 17 Mar 2009 23:28:52 +0100
Hi,
I'm trying to adapt a project to use Xcode. This project has to be
compiled for several architectures (PPC & x86), and both architectures
have some files specific for the architecture (optimized version of
some functions, with some inline assembly). Then I have my target (a
library), which will be great if it can be a "fat" library.
My problem is that I haven't found a way to ask Xcode to compile some
files for one architecture, but not for other, and viceversa. I have
search high and low in Google and in the list archives and I haven't
found a solution.
The only thing I can think about is having separate targets for each
architecture (which is suboptimal, because I have to "transfer" the
changes between the two if I made changes on one of them), and then a
third target which mixes both libraries in one (I think I have read
somewhere about some tool to mix to binaries of different
architectures).
Is that my only possible way? Do Xcode allows this kind of file
subsets in one target?
Thank you very much.
_______________________________________________
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