Boost logo

Boost-Build :

From: Malcolm Cifuentes (malcolm_cifuentes_at_[hidden])
Date: 2007-05-30 00:35:30


the following seems to work:
lib MyLib : c.cpp : <dependency>$(DFM_INSTALL)/menu_form.dfm ;

I still don't understand why below doesn't work...

Malcolm Cifuentes wrote:
> 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 : ;
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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