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.

HTH,
- Reece
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


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