From: DigiWays (boost.build_at_[hidden])
Date: 2005-07-06 16:35:36
>> Also, is it possible to write a rule/feature which will modify the list of all
>> the dependencies of the current executable? How?
RR> Neat.. That's exactly the kind of thing modifiers are designed for.
Excellent! Is there any documentation / examples on how to write
For example, how would one write a modifier which makes bbv2 ignore
all the libraries on which my project depends, which names end with
"V2"? I.e. something like
lib libaV2 : V2/a.cpp ;
lib libaV3 : V3/a.cpp ;
lib libb : b.cpp libaV2 ;
exe myexe :
: <ignorelibbysuffix> V2 ;
In this case I want libb to be compiled against libaV2, but when myexe
is compiled, I want it to link a.obj with libb.lib with libV3.lib .
-- Valentin Samko http://val.samko.info
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