|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-22 00:41:19
David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > Two possible problems are:
> >
> > 1. A bit longer paths. Not a real problem, I think.
> > 2. If one cpp is used by two exe, it will be recompiled twice. I think
> > this will be quite rare.
>
> IIRC, #2 was an important scenario for _you_ and caused you to be
> unhappy with BBv1. Did that change?
Yes, in two ways
1. Currently, all my unit tests just link to the libraries where the testsed
unit is placed.
2. V2 has an "obj" rule. It can be used to compile a file only once, it that's
really needed:
exe first : first.cpp shared ;
exe second : second.cpp shared ;
obj shared : shared.cpp ;
Not the most short way, but viable.
- 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