Boost logo

Boost-Build :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2007-05-24 03:32:36


> -----Message d'origine-----
> De : boost-build-bounces_at_[hidden]
> [mailto:boost-build-bounces_at_[hidden]]De la part de
> Johan Nilsson
> Envoyé : mercredi 23 mai 2007 07:32
> À : boost-build_at_[hidden]
> Objet : Re: [Boost-build] moving rules from jamroot to somewhere else
>
>
> Renaud Lepere wrote:
>
> [snip]
>
> >
> > I just have a problem for explicit, in my-lib (in my-ext.jam) rule
> > explicit is
> > not found while it was ok in jamroot.
> >
> > rule my-lib ( project : sources * )
> > {
> > lib $(project) : $(sources) ;
> > explict $(project) ;
> > }
> >
> > Do you have any idea ?
>
> Because you spelled explicit wrong ("explict")?

No, this was just a mistake done while writting my mail. I'm sorry.
I have seen that rule explicit is defined in build/project.jam

...
module project-rules
{
        ...
        rule explicit ( target-names * )
        {
                ...
        }
}
Do you know, how can i access this rule from a jamfile, i have
tried in my-ext.jam.
import project ;
rule my-lib ( project : sources * )
{
        lib $(project) : $(sources) ;
        project-rules.explict $(project) ;
}
but it does not work

Thanks

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