Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to use alias?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-10-03 10:54:25


  AMDG

On 10/3/2010 5:54 AM, Алексей Никитин wrote:
> In documenation write what alias rule may be used for change build
> properties, but next code fail after command "bjam a_p a_r":
>
> lib a.lib : a.cpp ;
> alias a_p.lib : a.lib :<variant>profile ;
> alias a_r.lib : a.lib :<variant>release ;
> install a_p : a_p.lib :<location>. ;
> install a_r : a_r.lib :<location>. ;

The problem is that you're trying to install two files with
exactly the same name (a.lib) to the same location.
You need to either put them in different directories
or use <tag> to mangle the library names.

In Christ,
Steven Watanabe


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