Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-02-12 09:11:14


Mark Evans <evans_mark_at_[hidden]> writes:

> And, what will Boost.Build do with such file? If it has no idea what's the
> type of the file, it has no idea if it can be linked into an
> executable.

It could take the user's word for it. Maybe you need a new target
type "unknown object file."

> Well, I can change generators code so that targets with unknown type are
> silently consumed and passed on to the tool (like linker), but that seems
> very fragile.

In this case the user is asserting that the file is not only an object
file, but a library file (either static or dynamic, unspecified). I
don't think it would be too fragile to treat those specially.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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