Boost logo

Boost-Build :

Subject: [Boost-build] how do I create a new bjam target?
From: Marak Laszlo (ujoimro_at_[hidden])
Date: 2010-03-11 06:11:22


Dear Boost.build experts,

I have a problem with bjam, that has been troubling me for a week. I would
like to add a new compiler support to bjam. This compiler returns the same
object file as gcc (compatible). Now, I have declared a rule called

rule my-rule ( name : source ) ...
...

and somewhere in it there is a

NOTFILE $(name:G=e) ;
do-nothing $(name:G=e) : $(so) ;

when I call the rule in the jamfile

my-rule npink : src/some_src.cpp

nothing happens. If I launch

bjam npink

bjam sais:

notice: could not find main target npink
notice: assuming it is a name of file to create.

and then COMPILES the target. However I CAN'T make anything depend on this
target.

exe some_executable : npink ;

or

DEPENDS npink : some_executable ;
or no-rule and their any variation is completely ignored by bjam.

Can you please help me out with this?

Thank you in advance

ML

-- 
This message is signed!
What sane person could live in this world and not be crazy? -- Ursula K. 
LeGuin



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