Boost logo

Boost-Build :

From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2005-01-05 08:39:54


David Abrahams wrote:

> 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
> >>>computer...
> >>>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
> inserting
>
> import path ;
>
> and then using
>
> [ path.make C:/TEMP/BUILD ]
>
> in place of C:/TEMP/BUILD.
>
it works :)
Thank you very much

>From where comes the failure ?
It is my fault ? or is it my BB that is not up to date ?

I wanted to use something like that:
- in my project-root define a path-constant TMP_BUILD_DIR = "C:/TEMP/BUILD/"
- using build-dir $(TMP_BUILD_DIR)

but it seems that it is not possible... or I do that in the wrong way...

TEMPLIE Cédric

>
> Good luck!
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/jamboost/
>
> * To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
> <mailto:jamboost-unsubscribe_at_[hidden]?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>

 


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