Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-10-17 08:20:09


Daniel Lidström wrote:
> Jorge Suit Perez Ronda scribbled:
>
>
>> This works for me,
>>
>> ---------------------------------
>> lib WS : : <name>WS2_32 ;
>> explicit WS ;
>>
>> exe hello : hello.cpp : <toolset>msvc:<library>WS ;
>> ---------------------------------
>>
>> but I have not tried compiling with gcc because hello.c depends fully
>> on windows lib.
>>
>
> Thanks Jorge! This works great. Perhaps this could constitute an example?

Another thing that should work is
"<toolset>msvc:<find-static-library>WS2_32". That's how I've been
referencing system libraries (like user32, kernel32, etc.).

Phillip


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