Boost logo

Boost-Build :

Subject: [Boost-build] generate from file-reference ignore properties
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2012-03-03 10:54:34


Hello,

Is there any reason why generate from file-reference target ignores the
properties
passed to it?

    rule generate ( properties )
    {
        return [ property-set.empty ] [ virtual-target.from-file $(self.name)
:
            [ location ] : $(self.project) ] ;
    }

I would like to be able to do:

jar my-jar : java/foo/bar.java/<nested-class>SomeOtherClass ;

But since file-reference ignores the properties, the
<nested-class>SomeOtherClass is not passed along.

Regards,

-- 
Felipe Magno de Almeida


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