Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-08-27 09:03:46


David Abrahams wrote:
> Update of /cvsroot/boost/boost/tools/build/new
> In directory sc8-pr-cvs1:/tmp/cvs-serv31104/tools/build/new
>
> Modified Files:
> targets.jam project.jam feature.jam

> Index: project.jam
> ===================================================================
> RCS file: /cvsroot/boost/boost/tools/build/new/project.jam,v
> retrieving revision 1.62
> retrieving revision 1.63
> diff -u -d -r1.62 -r1.63
> --- project.jam 5 Aug 2003 05:25:32 -0000 1.62
> +++ project.jam 20 Aug 2003 21:56:49 -0000 1.63

> @@ -344,7 +344,7 @@
> {
> local attributes = $($(project-module).attributes) ;
> local pattributes = [ attributes $(parent-module) ] ;
> - $(attributes).set parent : [ path.parent $(parent) ] ;
> + $(attributes).set parent : [ path.parent $(parent-module) ] ;
> $(attributes).set default-build

Dave,
I'm afraid this change is not exactly right. While the previous code worked
only accidentally, your change breaks project_test1. I've just comitted the
attached patch which revives it.

- Volodya
 --Boundary-00=_CpLT/8xe/pYkBuR Content-Type: text/x-diff;
charset="koi8-r";
name="parent.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="parent.diff"

? A.diff
Index: project.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/new/project.jam,v
retrieving revision 1.63
diff -u -r1.63 project.jam
--- project.jam 20 Aug 2003 21:56:49 -0000 1.63
+++ project.jam 27 Aug 2003 13:59:12 -0000
@@ -344,7 +344,8 @@
{
local attributes = $($(project-module).attributes) ;
local pattributes = [ attributes $(parent-module) ] ;
- $(attributes).set parent : [ path.parent $(parent-module) ] ;
+ $(attributes).set parent : [ path.parent
+ [ modules.binding $(parent-module) ] ] ;
$(attributes).set default-build
: [ $(pattributes).get default-build ] ;
$(attributes).set requirements
 --Boundary-00=_CpLT/8xe/pYkBuR--


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