From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2001-11-05 06:26:02
Markus Schöpflin wrote:
> Hi all,
> currently the build system updates libraries with recompiled object files and leaves the other archive members alone.
> This leads to a problem when a source file is deleted from the build because the old object file stays in the library and never gets deleted.
> Therefore I think the whole library should be recreated from the object files if one of its members is marked for recreation.
or you can store all temporary object files. Boost.Build is the first
build-system I work with that does not store the intermediate object
files. I actually found updating the archive directly very neat and
totally superior. But always recreating the _whole_ library is too
expensive. Thus would prefer storing the intermediate files.
Another option maybe is to recreate the whole library if the Jamfile
changes. Thus the Jamfile should set a dependency on itself.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk