Boost logo

Boost-Build :

From: Konstantin Litvinenko (darkangel_at_[hidden])
Date: 2006-01-04 05:05:55


Hello, All!

   I'm trying to build my projects with some tagging support. Using rule

rule tag ( name : type ? : property-set )
{
    if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB
    {
          return [ stage.add-variant-and-compiler $(name)
              : $(type) : $(property-set) ] ;
    }
}

    I get names like sys-vc-mt-d.lib, but I expect sys-vc7-mt-d.lib. I figured out that in stage.rename regexp is used that doesn't match <toolset*.version> versions with one number. I fixed it and than run build again. Everything was ok. But for borland 6.4 I got sys-bcb64-mt-d.lib which I found a little bit weird. I can fix this but I don't know what is the right fix :) I think sys-bcb6_4-mt-d.lib would be good version naming, but I'm not sure.
    Is this a bug or I'm missing something?

With best regards, Konstantin Litvinenko.


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