Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-16 01:10:37


On Saturday 13 August 2005 03:08, Andrey Melnikov wrote:

> Great.
>
> Is it possible to specify toolsets on per-file basis? E.g.
>
> LIB x : x.cpp ;
> HPP a : a.idl : <toolset>xpidl ;
> HPP b : b.idl : <toolset>midl ;

Yes.

> Will depencency on a.idl be recognized if x.cpp includes a.h generated
> by the IDL compiler?

No. And it won't be recognized even without <toolset>, because by default,
dependency to generated headers are tracked only within one main target.

Some explanation is hidden under:
http://boost.org/boost-build2/doc/html/bbv2/reference/jamfiles.html#bbv2.reference.headers

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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