Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-06-27 04:52:23

Rene Rivera wrote:
> Johan Nilsson wrote:
>> Hi,
>> as far as I understand, and have verified through testing, the alias
>> rule only adds a local alias (i.e. it can only be used within the
>> same Jamfile).
>> I've been trying to reuse an alias within a project hierarchy without
>> success, e.g. (from the manual):
>> alias threads : /boost/thread//boost_thread : <link>static ;
>> Is there some way to access the alias "threads" from sub-projects?
>> I'd like to ensure that all projects within a hierarchy use the same
>> build settings for some common libraries (if they use them).
> Works for me as long as one uses absolute project paths like
> "/my_project//threads".

Of course - the double slash. By some stupid reason I had tried using
"/<root>/alias" and getting the (now) expected errors.

Thank you!

// Johan

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at