Boost logo

Boost-Build :

From: Malcolm Cifuentes (malcolm_cifuentes_at_[hidden])
Date: 2007-05-29 21:01:38


Hi all,
I have come across this behavior which I don't understand, I am trying to tie a
make rule to a lib rule like below. I was hoping that the make rule would be
evaluated as a dependent on the lib rule. In order for the dependency to be
specified I was required to register .dfm files as a recognized type.

Problem: I was expecting the following behavior:
1. If I was dependent on MyLib from another Jamfile(see Jamfile-main) and
$(TOP)/dfm/c.dfm did not exist it would invoke the make rule

anyone?

thanks
mal

Jamfile-lib
------------------------------------------
lib MyLib : c.cpp $(TOP)/dfm/c.dfm : : ;

make $(TOP)/dfm/c.dfm : c.dfm : do-copy ;

Jamfile-main
------------------------------------------
exe m : b.cpp $(TOP)/lib2//MyLib : : <include>$(TOP)/lib2 : ;


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