Boost logo

Boost-Build :

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?

Hi Arjan,
something like:

  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?

- Volodya

Vladimir Prus
Boost.Build V2:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at