|
Boost-Build : |
Subject: Re: [Boost-build] Documentation build error on trunk
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-08-06 18:23:38
AMDG
On 08/06/2012 07:55 AM, Jurko GospodnetiÄ wrote:
> To reach this 'root project' it used a dirty trick
> relying on Boost Build leaving its 'currently loaded project' reference
> dangling even after done with loading all of its project modules. Now I
> changed it to not use the root project at all but to simply use the
> first project requesting this file instead.
>
I think this should still use the root project,
just starting with $(project) instead of
[ project.current ].
> Ideally this target would get registered to the central 'boostbook'
> project but that is a standalone project without a 'location folder',
> i.e. it can not create new targets but only reference preexisting ones.
> This is something that can be changed if Boost Build is updated to allow
> creating new targets from stand-alone projects, but the current solution
> seems clean enough for me.
>
The basic problem is getting a build directory.
Allowing standalone projects to create targets
just moves this problem somewhere else.
In Christ,
Steven Watanabe
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