Boost logo

Boost-Build :

From: Christopher Swiedler (chris_at_[hidden])
Date: 2008-03-05 13:03:08


I have an app which gets installed in a directory somewhere with subdirs
like bin, lib, etc. The root directory is not, however, /usr. I'm using
the install rule to create a staging directory at build time which can
be copied as-is to the correct location. I want the dll path of binaries
in the bin directory to be set to the relative path "../lib" since I
know that's where our libraries will be located.

My stage commands look like this:

stage ../../staging/lib : foo-library ;
stage ../../staging/bin : foo-app : <dll-path>../lib ;

foo-library and foo-app get copies to the correct locations, but it
looks like ../lib gets converted to an absolute path based on the
Jamfile location. Is there a way to specify that the dll-path should
remain as a relative value?

TIA,
chris


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