• 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
Re: Per architecture file subsets in a Compile files build phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Per architecture file subsets in a Compile files build phase


  • Subject: Re: Per architecture file subsets in a Compile files build phase
  • From: Daniel Rodriguez Troitiño <email@hidden>
  • Date: Wed, 18 Mar 2009 00:38:19 +0100

2009/3/17 Jim Correia <email@hidden>:
> On Mar 17, 2009, at 6:28 PM, Daniel Rodriguez Troitiño wrote:
>
>> 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.
>
> How much source are we talking about?
>
> Building a static library in a separate target is one route.
>
> Another is to wrap arch specific functions in
>
> #if __ARCH__
>
> #endif
>
> - Jim

A few dozen files in each architecture.

I have already though about the preprocessor, but it seems a little
bit dirty wrapping entire files in preprocessor conditionals. But yes,
that would be a solution.

I was really just asking to know if I have missed something and Xcode
allows what I ask, or I have to use one of the less optimal solutions.

Thank you for your answers.
 _______________________________________________
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: Per architecture file subsets in a Compile files build phase
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Per architecture file subsets in a Compile files build phase (From: Daniel Rodriguez Troitiño <email@hidden>)
 >Re: Per architecture file subsets in a Compile files build phase (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Per architecture file subsets in a Compile files build phase
  • Next by Date: Re: 3.0+ Xcode documentation?
  • Previous by thread: Re: Per architecture file subsets in a Compile files build phase
  • Next by thread: Re: Per architecture file subsets in a Compile files build phase
  • Index(es):
    • Date
    • Thread