|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-30 02:13:04
Hi Motonari,
> >I think that the best solution to to move the 'stage' invocation to the
> >top-level Jamfile. That way, you'll have maximum control and won't have to
> >write stage targets in every subproject.
>
> However, that way, 'stage' doesn't work when starting bjam at [foo]
> directory, does it?
Right
> I think I should explain the background.
>
> The reason I would like to start bjam at [foo] directory is basically
> just for convenience. My editor(emacs) is configured to invoke 'bjam' at
> the location of the current opened file(foo.cpp) whenever I type C-cC-c
> (compile command).
Understood.
> Also, I want to copy every module to the same directory because, for
> example, foo.exe dynamically loads foo.dll from the same directory.
You choose. I have one top-level "stage" target which stages everything. This
means I have sometimes to run bjam in the top-level directory. The layout
you're using, with one stage per Jamfile is sensible too, I was just making
sure you know the other alternative.
>
> >I think the simplest way is to use
> >
> > path-constant TOP : . ;
>
> It worked! Thank you very much.
You're welcome.
- Volodya
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