$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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