Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-07-16 17:21:38

Jarda Gre¹ula wrote:
> my scenario is that I use msvc toolset configured like this:
> using msvc : x.y ;
> but every now and then I use msvc toolset configured in this way:
> using msvc : x.y : : <compiler>nmcl.exe <linker>nmlink.exe ;
> Is there a way to define these side-by-side in a Jamfile and select one of them
> from command line?

You can do this in your user-config.jam:

   using msvc : 7.1 ;
   using msvc : 7.1nm : : <compiler>nmcl.exe <linker>nmlink.exe ;

and then:

   bjam msvc-7.1

for when not using the nm wrapper, and:

   bjam msvc-7.1nm

for when you do. You could also have the stlfilt wrappers:

   using msvc : 7.1filt : : ... ;

NOTE: There is no - between the version number and the text and that the text appears after the version. These are due to the way that bjam processes build options in the first case and identifies compiler versions in the second.

- Reece
Be one of the first to try Windows Live Mail.

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