Boost logo

Boost-Build :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2007-06-04 03:42:51


>
> >
> > and in utils/alma.jam
> >
> > import feature ;
> > import type ;
> > import virtual-target ;
> >
> > rule alma-install ( install-name : project-name )
> > {
> > ....
> > explicit $(install-name)
> > $(install-name)-exe
> > $(install-name)-bin
> > $(install-name)-lib ;
>
> This is pretty much a wild guess, but could you try adding
> "import project
> ;" to the top of alma.jam and replace the last statement above with:
>
> local p = [ project.current ] ;
> $(p).mark-target-as-explicit $(install-name) ;
>
> > }
>

Thanks a lot, it works with a small modification of the code above,
i just added those lines.
$(p).mark-target-as-explicit $(install-name)-exe ;
$(p).mark-target-as-explicit $(install-name)-bin ;
$(p).mark-target-as-explicit $(install-name)-lib ;

I looked inside project.jam and i saw similar code in the rule explicit
but it is within a module named "project-rules". Is it possible call the
explicit function directly ?

Thanks a lot again,

Renaud


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