|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-05-31 12:21:09
Larry Evans <cppljevans_at_[hidden]> writes:
> On 05/30/2005 09:30 PM, David Abrahams wrote:
>> Larry Evans <cppljevans_at_[hidden]> writes:
>>
>>
>>>Should jamroot be project-root.jam in this html file?
>>
>>
>> No. Jamroot serves as a combined project-root.jam and Jamfile.
>>
> Then, in:
>
> v2/doc/html/bbv2/extending/rules.html
>
> should the phrase:
>
> you could add the following definition to the project-root.jam file:
>
> be:
>
> you could add the following definition to either the project-root.jam
> or the jamroot file:
>
> ?
That is true in general. Volodya has only got about halfway through
processing my editorial remarks that, among other things, suggest the
appropriate changes to project-root.jam throughout the docs. I say
that only to note that the change is planned.
> Or maybe puting a rule in jamroot will not make it a "main target
> rule";
Well, that is certianly true.
> hence, as stated in:
>
> v2/doc/html/bbv2/extending/rules.html
>
> it must be put in project-root.jam. Is that right?
No, that's not enough to make a rule a "main target rule" either.
> So, if you have an exiting jamroot, and want to create a main target
> rule for the project or sub-project, you'd have to replace the
> jamroot file with both a jamfile and a project-root.jam file. I
> that right?
Nope. Jamroot is a complete replacement for Jamfile +
project-root.jam.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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