Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using toolset as part of a constant
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-04-16 14:21:06


Deane Yang wrote:

> I would like to set a constant to the toolset ("gcc" or "msvc" or...), so I can
> use the constant as part of the name of a path.
>
> Something like this:
>
> path-constant LIB_DIRECTORY : $(TOOLSET)/lib
>
> How do I set the constant TOOLSET equal to the value associated with <toolset>?

You cannot, see:

        http://www.boost.org/boost-build2/doc/html/bbv2/faq.html#id2572663

- Volodya


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