Boost logo

Boost-Build :

Subject: Re: [Boost-build] Passing variable to Jamfile via command line
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-01-16 00:32:05


AMDG

On 1/15/2011 9:02 PM, Robert Kawulak wrote:
> I'm trying to pass a variable to Jamfile, but unfortunately I can't figure out how to do this. I tried both 'bjam -svariable=value'
> and setting an environmental variable, but in either case the variable seems to be undefined in the Jamfile. I googled and found out
> that other people had a similar problem, but I found no workaround. Could anybody help please? :)
>
> Using Boost 1.44.0, Boost.Jam 3.1.18, Windows 7.

The variables are defined in the global module.
Try using [ modules.peek : VARIABLE ] in the
Jamfile.

In Christ,
Steven Watanabe


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