Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-01-05 08:20:40

TEMPLIE Cédric wrote:
> Vladimir Prus wrote:
>> On Tuesday 04 January 2005 17:54, TEMPLIE Cédric wrote:
>>>Why is build-dir requirements of a project a relative path ?
>>>Indeed, I used a shared directory on the network to build some products,
>>>and the obj file are build on the remote computer.
>>>I want prefer to set that my build-dir is a directory on the local
>>>If you know another way to do that instead of using build-dir please
>>>tell me.
>>>Thx in advance
>> Using absolute name:
>> project
>> : build-dir /tmp/bbb
>> ;
>> works for me. What kind of problem are you having?
> If I set build-dir (at the leaf project or at the top project) it tries
> to create a subdirectory in the project folder....
> What I want is really to build object in another directory... moreover,
> if I set, for exemple, my build-dir to "C:/TEMP/BUILD/" (using
> path-constant) the system does not build because it tries to create a
> directory named my_project/C:/TEMP/BUILD/...

I'm almost sure this is a failing of our path translation system. Try

import path ;

and then using

[ path.make C:/TEMP/BUILD ]

in place of C:/TEMP/BUILD.

Good luck!

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at