Boost logo

Boost-Build :

Subject: [Boost-build] Using toolset as part of a constant
From: Deane Yang (deane.yang_at_[hidden])
Date: 2009-04-16 14:17:37


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>?


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