Boost logo

Boost-Build :

Subject: Re: [Boost-build] conditional feature on Microsoft compiler version?
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-10-05 16:27:44


The jamfile in the serialization library build has something like this.

Robert Ramey
  "Joshua Napoli" <jnapoli_at_[hidden]> wrote in message news:9f11de900810051223q1d39ede8kab9f681efc2b9b5f_at_mail.gmail.com...
  Is there any way to make a feature conditional on the Microsoft compiler version. I want to write something like this:

  <toolset>msvc-6.0:<include>spirit-1.6.4&&boost

  Also, is there any way to ensure that one include feature is emitted before another? For example "<include>spirit&&boost" will output spirit and boost includes in order, but if another dependency has a plain "<include>boost", then boost will end up with two "-I" options, one preceeding and one following the "-Ispirit" (which is obviously not what I want).

  Thanks,
  Joshua

------------------------------------------------------------------------------

  _______________________________________________
  Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build



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