On 09/07/07 06:48, Larry Evans wrote:
[snip]
> A simplified Jamfile:
> <--- cut here ---
> obj t1_obj : t1.verbatim ;
>
> verbatim t1_cpp : t1.verbatim ;
> >--- cut here ---
With this verbatim main target rule, I'd expected a
t1_cpp.cpp file to
be produced from the t1.verbatim file using the generator,
verbatim.inline-file. However, --debug-generator showed
output:
*** construct VERBATIM
from { t1.verbatim.VERBATIM }
so, apparently, the verbatim rule generated by:
import type ;
type.register VERBATIM : verbatim ;
in verbatim.jam has VERBATIM type associated with it instead
of the
target type, CPP, in the generator registration:
import generators ;
generators.register-standard verbatim.inline-file : VERBATIM
: CPP ;
found also in the verbatim.jam file.
So now the question is, how is a main-target rule defined
that will
invoke the verbatim.inline-file action? I tried defining
verbatim.inline-file rule; however, it did nothing.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|