Boost logo

Boost-Build :

From: peter_schoen1_web_de (Peter.Schoen1_at_[hidden])
Date: 2003-09-01 08:21:07


Hi,

I store several prebuilt libs in the cvs repository of my project.
After checkout, I want to set the absolute paths to these libs in
boost.Build-v2's prebuilt target rules. To do that I need to
determine the current project-root directory of the local checked
out copy of my project.

I tried this in the Jamfile located in the project-root directory:

local rootdir = [ project-root get-location ] ;

and it resulted in this error:

/path/to/project-roots.jam:368: in project-root
warning: rulename $(project-root-module).project-root expands to empty
string

What would be the correct way to get the project-root directory path?

Many thanks & very best wishes

-Peter-

 


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