List Info

Thread: alias rule




alias rule
user name
2006-06-27 08: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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )