From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-09-27 08:54:32
On 09/26/07 11:22, Larry Evans wrote:
> On 09/26/07 10:36, Rene Rivera wrote:
> Thanks *very much* for the clarification. I read about
> the difference between Boost.Build and Boost.Jam, but
> didn't really understand all that much. The keyword
> you used was *interface*. Somehow, it's got to be
> made clear to the user where that interface lies.
> For example, if the actions in the:
> actions inline-file
> my-update x : y ;
> and the Jamfile was:
> import verbatim.jam ;
> verbatim a : b.cpp ;
> would command line:
> bjam a
> cause invocation of the my-update rule then the my-update actions?
Apparently not because the attached Jamfile and the command line:
rule gexe a
rule my-update a : a.cpp
...found 15 targets...
...updating 2 targets...
...updated 2 targets...
So when is the documentation about the BJam automatic connection between
rule and actions with the same name, as described here:
and here (search for 'create-file-from-another'):
ever useful to the end user? An example would be handy.
ECHO "rule my-update" $(<) ":" $(>) ;
echo "actions my-update" $(<) ":" $(>) ;
rule gexe ( name )
echo "rule gexe" $(name) ;
my-update $(name) : $(name).cpp ;
exe $(name) : $(name).cpp ;
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