Boost logo

Boost-Build :

From: jjanzer0 (yahoo_at_[hidden])
Date: 2005-05-18 03:09:40

Hi I need to include the wsock32 libraries conditionally when I'm
building a project on windows (and I don't want to link it in when I'm
in linux)...

I'm sure this is very trivial but I'm having a very hard time figuring
out how to actually do it, I have something like the following:

project client
: requirements <include>../common ;

lib lwsock32 : : <name>wsock32 ;

exe myClient

That works fine, but what I need is to actually include a conditional
in bjam v2, in order to load it (only in windows)... something like
but using some variable instead.
Any help would be greatly appreciated.


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