Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-07-03 23:33:26


Rene Rivera wrote:
> K. Noel Belcourt wrote:
>> On Jul 1, 2008, at 11:48 AM, Rene Rivera wrote:
>> It seems to me that sdk-version is always being defined in the rule
>> init-available-sdk-versions in darwin.jam.
>
> It shouldn't be if it doesn't find an SDK. And if it does, it should be
> defined as a conditional flag that only appears when one asks for a
> specific version.
>
> But are you saying that the 'sdk-version' variable is always defined?
> Perhaps to an empty string?

PS. What do the "notice: available sdk ::" lines say for you? For me
they look like:

notice: available sdk :: <toolset>darwin-4.0.1/<macosx-version>10.4 ::
/Developer/Xcode-3.1-beta7/SDKs/MacOSX10.4u.sdk
notice: available sdk :: <toolset>darwin-4.0.1/<macosx-version>10.5 ::
/Developer/Xcode-3.1-beta7/SDKs/MacOSX10.5.sdk

The key part being having the version in "<macosx-version>10.4".

>> Seems like you shouldn't search for SDKs in this rule unless the user
>> asks you to, rather than always searching for them.
>
> That's the goal. And what I thought I implemented. And how it works in
> my setup.

Hm, not exactly what I meant :-\

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk