Re: detecting and acting on xcode version in proj file?
Re: detecting and acting on xcode version in proj file?
- Subject: Re: detecting and acting on xcode version in proj file?
- From: Derrick Brashear <email@hidden>
- Date: Tue, 26 Jan 2010 14:22:15 -0500
On Tue, Jan 26, 2010 at 2:07 PM, Scott Tooker <email@hidden> wrote:
> Have you considered using per-SDK settings for the Architectures build setting? Then depending on the SDK being used, you can tailor the set of architectures to build for.
> I'd keep away from the Xcode version since there is no guarantee that building with a given version of Xcode means you are building for a given version of Mac OS X.
I actually don't care which version of OSX I'm building for, just on
whether I can assume ARCHS_STANDARD_32_64_BIT is set. My assumption is
that or if not, ARCHS_STANDARD_32_BIT, will be set, and I just want to
build. I don't care for what.
If I were to use the version of the SDK, though, is that documented somewhere?
> Scott
>
> On Jan 26, 2010, at 8:05 AM, Derrick Brashear wrote:
>
>> We have a piece of portable software we distribute which builds for
>> any of 10.4, 10.5 or 10.6, with nominally any version of XCode. To
>> support universal binaries, we did e.g.
>> ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"
>> however older versions of XCode don't set this. What I'm looking for
>> is a way to set ARCHS to this if its supposed in my XCode, and
>> otherwise ARCHS_STANDARD_32_BIT. My best idea involves hinging on
>> XCode version, but I don't see how I'd do that.
>>
>> Suggestions? (Or other ways I might consider handling this)
--
Derrick
_______________________________________________
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