Boost logo

Boost-Build :

From: Andre Hentz (gclbb-jamboost_at_[hidden])
Date: 2003-04-10 03:37:20


I just managed to get BBv2 to pass the tests using os=cygwin/toolset=msvc.
The patch is attached.

I now have a question. I have a Jamfile containing something like this:

if [ modules.peek : NT ]
{
lib openssl : : <name>libeay32
<search>$(tools-lib-dir) <toolset>msvc ;
lib gdi : : <name>gdi32 <toolset>msvc ;
lib ws2 : : <name>ws2_32 <toolset>msvc ;
}
else
{
lib openssl : : <name>crypto
<search>$(tools-lib-dir) <toolset>gcc ;
lib boost_regex : : <name>boost_regex
<search>$(tools-lib-dir) <toolset>gcc ;
}

exe a : $(SOURCES).cpp openssl boost_regex : <toolset>gcc ;
exe a : $(SOURCES).cpp openssl gdi ws2 : <toolset>msvc ;

Unfortunately, that doesn't work very well if I want to build with the
following configurations:
1) os=nt/toolset=msvc
2) os=cygwin/toolset=msvc
3) os=cygwin/toolset=gcc
4) os=freebsd/toolset=gcc

How can I test based on the selected toolset? Or is there a better way to
achieve that effect?

Thanks in advance,

Andre Hentz
 --986811733-12652-1049963840=:1504 Content-Type: APPLICATION/octet-stream; name=logmessage
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.WNT.4.44.0304100137200.1504_at_diamante>
Content-Description:
Content-Disposition: attachment; filename=logmessage

[Attachment content not displayed.] --986811733-12652-1049963840=:1504 Content-Type: APPLICATION/octet-stream; name=patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.WNT.4.44.0304100137201.1504_at_diamante>
Content-Description:
Content-Disposition: attachment; filename=patch

[Attachment content not displayed.] --986811733-12652-1049963840=:1504--


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