Re: Different build locations for different architectures?
Re: Different build locations for different architectures?
- Subject: Re: Different build locations for different architectures?
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 21 Jul 2010 18:53:56 +0200
On Jul 21, 2010, at 15:16, Guillaume Billard wrote:
> Hello,
>
> I'd like to set different build paths depending on the architecture being built, eg. for SYMROOT ("Build Products Path"):
> .../Bin/MacIntel32/<BuildConfiguration>/ for a i386-only build
> .../Bin/MacIntel64/<BuildConfiguration>/ for a x86_64-only build
> .../Bin/MacIntel/<BuildConfiguration>/ for a i386 + x86_64 build
>
> But the "Add Build Setting Condition" feature is greyed out for all "Build Locations" in Xcode 3.2.2. These are common locations, regardless of the active architecture or the combination of available architectures.
> If I build i386 only, then switch to x86_64, a new build will overwrite the products inside this common location.
> Is there a workaround? If not, will this be possible in Xcode 4? Should I file a feature request?
>
> Thanks.
>
>
> Guillaume
>
Having a build location depending on the arch does not make any sense, because they may, and generally are, combined in a single universal binary. So I would not even see any reasonable condition on which this could depend. So it should therefore be clear that this can't and won't be supported.
The only way I can imagine how this could work (and that already works as it is) is to have different custom build configurations for the one-arch-only builds.
Christiaan
_______________________________________________
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