From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-12 08:52:58
On Wednesday 12 April 2006 16:44, Arjan Knepper wrote:
> I need to add the -WD flag when compiling sources for a DLL and the -WA
> when compiling sources for a static LIB. How do I achieve that?
flags dmc.compile OPTIONS <link>shared : -WD ;
flags dmc.compile OPTIONS <link>static : -WA ;
should do the trick. Are sure this is compiler switch, not link switch?
-- 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