From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-03 22:38:41


AMDG

Jurko Gospodnetić wrote:
>> What happens when a generator instiantates a target as is the case
>> with quickbook.
>
> Would that really present a problem? I mean, we have no problem with
> generators constructing additional targets, just possibly with
> generators attempting to declare additional generators... and even
> that could be dealt with by playing with the cache Volodya mentioned.

Well, in order to find the quickbook binary, it processes a Jamfile
which would not otherwise be referenced.

> 2. Process requested targets, looking for a way to construct them
> using generators in case of typed targets. In the process new targets
> could possibly be constructed (I do not really understand why that
> would be needed though but that's a separate issue and more than
> likely based on my ignorance) and would be added to the list of
> unprocessed targets getting processed in this same step.

It's really quite simple in the quickbook case. The quickbook generator
creates a quickbook binary to use if it wasn't given a binary explicitly.

In Christ,
Steven Watanabe