Boost logo

Boost-Build :

Subject: Re: [Boost-build] BJam "Duplicate name of actual target" problem
From: Hite, Christopher (Christopher.Hite_at_[hidden])
Date: 2011-07-18 07:18:28

How do I make it pass requirements?

# This doesn't work since it passes the requirements to the rule
definition properties:
rule objgroup ( sources + : requirements + )
   local g = ;
   for s in $(sources) {
      local name = $(s:B) ;
      obj $(name) : $(s) : requirements ;
      g += $(name) ;
   return $(g) ;

alias jaguar_shared : [ objgroup [ glob *.cpp ] : <define>SOMEMACRO1 ] ;

Is there a doc for people trying to understand the bjam language? Is it
derived from something else?

BTW: I thought bjam wasn't using --start-group --end-group. It is. It
puts everything in it. For some reason my ld is ignoring it.


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