Boost logo

Boost-Build :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2007-09-10 10:12:58


Vladimir Prus wrote:
> On Wednesday 05 September 2007 15:10:19 Beman Dawes wrote:
>> How do I test with multiple toolsets?
>
> You specify multiple toolsets on command line. As in:
>
> toolset=msvc toolset=borland

Ah! I was trying things like toolset="msvc borland"

None of the http://www.boost.org/doc/html/bbv2/tutorial.html hello world
examples invoke bjam with multiple requests. None even invoke with a
single toolset request. bjam --help and its variants don't offer any
help either.

Also, it is hard to find the link to the html docs. From the boost.org
main page, you have to know that Boost.Build is considered a "tool".

Once you figure that out, and get to the
http://www.boost.org/tools/build/v2/index.html page, the Quick access
section has a line that reads "Documentation (PDF)", with
"Documentation" linked to the HTML version and "PDF" linked to the PDF
version. I had no idea there was an HTML version until I say your
reference below. Apparently every time I have clicked on "PDF" rather
than "Documentation". It would be helpful if you changed the line to
"Documentation (HTML, PDF)" with appropriate links.

>
>> How do I apply the /EHa to all msvc builds and tests that use
>> execution_monitor.ipp (to deal with the msvc
>> "..\..\..\boost/test/impl/execution_monitor.ipp(214) : warning C4535:
>> calling _set_se_translator() requires /EHa" warning?
>
> What do you mean? Do you expect to find all sources that include, directly
> or indirectly, execution_monitor.ipp and apply some option? Do you really
> think it's a basic task? No build system I know provide built-in mechanisms to
> do that?

I'll rephrase the question. How do I apply a compiler switch in my
Jamfile to builds for one specific toolset. How do I apply the switch
for that toolset, but only on one specific platform?

>
>> Why does 20 minutes of searching the documentation not turn up the
>> answers to such simple questions? Why doesn't the tutorial cover such
>> basic tasks?
>
> Did you see
>
> http://boost.org/boost-build2/doc/html/bbv2/reference.html#bbv2.reference.init.args
>
> and found that bad? Not that it explicitly tells you can request two toolsets at a time, but
> it should that two values of other features are possible.

That was one of the sections I looked at. Not sure why it confused me.
It would be a little easier if the full command line (beginning with
"bjam") was shown.

Thanks,

--Beman


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