Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-03 07:33:53

On Friday 03 February 2006 14:28, Renaud Lepere wrote:
> I am trying to create a new top rule that work with the
> explicit keyword. I tried the following code, but when
> I call bjam i get "hello all". How can i do this ?
> rule mytest ( name )
> {
> echo $(name) all ;
> }

This defined a rule (that is, function), that prints "$(name) all".

> mytest hello ;

This calls the above rule, which prints "hello all".

What exactly are you trying to do? All main target rules work with "explicit"
out of box, and it's impossible to write main target rule what would ignore

Have you read extender manual already? It's and is the first
think you should do before adding custom main target rules.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at