Boost logo

Boost-Build :

Subject: [Boost-build] set env variable before execution
From: Jan Boehme (jan.boehme_at_[hidden])
Date: 2011-04-07 06:23:24


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, david.abrahams at, gregod at, cpdaniel at, john at