Boost logo

Boost-Build :

From: Bernhard Glück (bernhard.glueck_at_[hidden])
Date: 2006-02-05 19:17:23


Very short question:
How can i get the current variant into a variable ( not in a target )
e.g something like
local variantName = getvariant ;

which should set variantName to debug,release or profile ( with the
standard defined variants )
Or would there be another easiert way to customize a directory for
installation ?
We have a quite large library in development and want to install all
built files in directories like
Distribution/Platform/LinkStyle/Variant

Right now i create a path-constant with the install directory out of
platform and link styles but i can't get the variant name as a string.

Thanks


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