Subject: Re: [Boost-build] set env variable before execution
From: Ian Emmons (iemmons_at_[hidden])
Date: 2011-04-07 07:21:42
A related question: Is there a way to set the current working directory of the process spawned by the run or unit-test rules to a value of my choosing?
On Apr 7, 2011, at 6:23 AM, Jan Boehme wrote:
> Is there a way to set environment variables before processing a rule?
> Regarding to my use case the preferred way would be to set it inside the
> run and/or the test-suite rule arguments.
> test-suite test01 : [ run test_01.cpp
> ../..//variant : <env>MYVAR=/data
> : <threading>multi
> Thank you very much, jan.
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