Boost logo

Boost-Build :

From: Josh Napoli (jnapoli_at_[hidden])
Date: 2006-12-18 10:21:00


> On 12/18/06, Vladimir Prus <ghost_at_[hidden]> wrote:
> > Which shell is that that does not like forward slashes. I think all

> C:\temp>dir foo/bar
> Parameter format not correct - "bar".

Also, Microsoft's shell doesn't work for executables with a relative
path that begins with "..".

C:\temp>..\qt\4.1.0\bin\moc -v
Qt Meta Object Compiler version 59 (Qt 4.1.0)
C:\temp>../qt/4.1.0/bin/moc -v
'..' is not recognized as an internal or external command, operable
program or batch file.

I am using boost build for my company's software. I wanted to use a
relative path to Qt (hence the patch). Since then, I have figured out
that the qt4 module only works if the qt (prefix) path is absolute.
Therefore, the patch is useless.

It was hard to figure out how to convert a relative path to an absolute
one for the purpose of initializing qt4. Is there any way to sense the
"current jam file" absolute path in a file like config-local.jam (where
we are outside of any "project")?

- Josh


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