Re: per-arch files
Re: per-arch files
- Subject: Re: per-arch files
- From: Steve Checkoway <email@hidden>
- Date: Sun, 15 Jan 2006 19:14:19 -0800
On Jan 15, 2006, at 6:54 PM, Eric Albert wrote:
On Jan 15, 2006, at 6:01 PM, Steve Checkoway wrote:
I'm trying to make a universal binary framework out of ffmpeg and
I'm having a few issues. The biggest problem seems to be that some
files need to be included only for ppc builds and other files need
to be included only for i386 builds. I'm not sure how to instruct
Xcode to only use those files with particular arches.
I'd like to do this without having to modify the source files if
possible so I don't want to edit each file and put in the correct
#ifdef.
There's no way to do this in Xcode today. I'd suggest filing a bug
report.
radar://4409355
For now, though, you'll have to #ifdef the files, or add your own
files which #include the per-arch files and include those in your
project instead of the real files. The former is probably cleaner
unless you really can't change the source code.
It's not so much that I cannot change them as the project is in CVS
and I don't include the source for ffmpeg. I could either make
another target that depends on the ppc build to build the i386
version and lipo the results together, or I could #ifdef the files
and include a patch file.
- Steve
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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