Boost logo

Boost-Build :

From: Adder (adder.thief_at_[hidden])
Date: 2008-05-17 11:19:25


  In toolset/borland.jam (or a similar file), I need to modify

      rule link ( targets + : sources * : properties * )

  in order to extract the sources of type OBJ in a separate variable.

  I tried using:

      echo [ OBJ : $(sources) ] ;

  but I'm getting an error when building. On further investigation, it
  turns out that $(sources[1]) is something like this:


  and it doesn't have a .type property (required by select-by-type).
  It's not a "virtual target" object !

  How can I get the OBJ sources in a variable, so I can use it in the
  "actions link ..." code ?

Thank you for your time,

Best regards,

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