Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-10-09 08:29:42


Vladimir Prus <ghost_at_[hidden]> writes:

> I'm currently about to implement "use-requirements", which are
> requirements propagated to targets that use one which specifies
> "use-requirements".

That last phrase makes no sense to me. Can you show an example of
where those requirements are propagated to, say, in conjunction with
the code below?

> To make specifying them clearer, I'd like to change
> "default-build" syntax, for example:
>
> exe a : a.cpp
> : borland:<cxxflags>-w-8080
> : use-requirements <define>SOME_MACROS <find-library>pcre
> : default-build debug release
> ;
>
> I.e. to make "default-build" section explicitly identified. What are
> opinions on that? (Note that it's not likely to require much typing,
> because in V2 it's possible to define "default-build" once for project
> -- no need to repeat for each exe)

I think that's reasonable and probably desirable.

-- 
David Abrahams * Boost Consulting
dave_at_[hidden] * http://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