|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-30 12:34:56
Hi Pedro,
> > with this change? The modified file is at
> >
> > http://zigzag.cs.msu.su:7813/working_copy/v2/tools/builtin.jam
> >
> > It works ok for your test case.
>
> It works. Thanks!
That's good!
> > P.S. In fact, I start to think that RSP generator is too fancy and should
>
> be
>
> > removed. But that's not for M9 ;-)
>
> While we're at it ;-) there's another problem with rsp files:
>
> - you forget to add a dependency to the Jamfile;
> - the linker fails saying that a library is missing;
> - you add the dependency to the Jamfile;
> - the rsp file is not rebuilt and the linker still fails.
And yet another:
- you build project from one directory
- you change to different directory and remove an executable
- you rebuild -- bjam thinks rsp is up to date, so it reuses it. Alas, path
names in rsp are no longer correct.
/me think that rsp file should be created as part of msvc.link action, and
those problems will disappear. I.e. msvc.link is marked as producing EXE and
RSP and msvc.link rule creates RSP and then invokes linker. In this case, rsp
will be always recreated when needed.
- 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