Boost logo

Boost-Build :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-06-15 10:43:46


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 15 June 2002 17:09, Rene Rivera wrote:

Rene,

> On 2002-06-15 at 03:53 PM, witt_at_[hidden] (Thomas Witt) wrote:
> >Given two paths
> >
> >"../../erg/mogrify"
> >"../frobnicate"
> >
> >Is there any way to determine the relative path mogrify <-> frobnicate?.
> >
> >On unix I use [ FDirName $(PWD) "path" ] to create a rooted paths that
> > work with FRelPath. This does not work on windows as $(PWD) is not
> > rooted.
> >
> >Any help would be greatly appreciated.
>
> Don't know what your goals are here

IIUC FRelPath only works for absolute paths.

> but... maybe use "[ PWD ]" instead of
> $(PWD).

Works a lot better.

Thanks

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9C2C30ds/gS3XsBoRAqguAJ9eYsrZtBODF8j5smafUmTzsmAAwgCfbiH4
GtX+9spvkvVo49iYuQeq5B4=
=DyQy
-----END PGP SIGNATURE-----

 


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