Boost logo

Boost-Build :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-05-24 10:28:04

At 10:24 AM 5/23/2002, David Abrahams wrote:

>> * How to I specify an additional compiler switch for one compiler from
>> bjam command line? (I want to see the effect of running the regression
>> tests with an additional compiler switch.)
>Just add it to the BUILD request. If it's a raw compiler switch that's
>represented by a feature, you can use <cxxflags>additional-flags-here. If
>you need to make any property specific to a particular toolset, use

OK. I added two examples to build_system.htm#initialize to show how to do

>> * I want to add an additional compiler switch for compiles with version
>> 1.23 or later of a certain compiler. What do I add to the toolset?
>Hah; good luck. How will Jam know which version of the compiler you're
>Better support for multiple toolset versions is planned for v2, but I
>we'll get *that* sort of automation any time soon.
>If you're willing to ask users to set a global variable, you can define
>different actions within an if/then statement depending on the variable
>However, I usually end up making a new toolset using extends-toolset so I
>can try both versions without getting subvariant collisions.

OK. I'll try that for Intel 6.0.



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