Boost logo

Boost-Build :

Subject: [Boost-build] Most efficient way to alter staging path by variant
From: Jim Gallagher (jim_at_[hidden])
Date: 2008-09-23 13:50:58


Hi,

I would like to stage the results of my builds in different locations,
based on variant.

This works:

install stage-proper
        : mylib
        : <variant>foo32:<location>../../build/foo32
                <variant>bar32:<location>../../build/bar32
                <variant>foo64:<location>../../build/foo64
                <variant>bar64:<location>../../build/bar64
;

It would be nice to write something like ../../build/$(variant), to
avoid typing the location for each variant. Is there a way to do this?

Thanks,
Jim Gallagher


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