Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-10-19 22:04:54


Matthias Troyer <troyer_at_[hidden]> writes:

> I'm currently developing a new sprng toolset for BBv2 for
> Boost.Random-conforming wrappers for the SPRNG library of parallel
> random number generators. The attached sprng.jam file works if I
> place it ether in the tools/build/v2/tools directory of my main Boost
> tree or if I keep it locally in the same location as the Jamfile from
> which I am using it. However if I import the file from another
> directory (e.g. import ../sprng.jam) then any call like
>
> if [ sprng.initialized ]
>
> fails because sprng is not known. My question is whether I'm doing
> something wrong here?

I don't think so. You can probably write

  if [ ../sprng.initialized ]

FWIW.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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