Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2003-12-09 10:22:43


> I don't think there was a good reason for adding 'bin' after build dir, so we
> can drop it. What do you think about going to 'virtual-target.jam', editing
> 'file-target.path' (line 474 for me) accordingly, and sending a patch? This
> should be easy matter of moving "bin" literal to a different place.

The attached patch works for me.
Zbynek

-- 
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech 
Republic
 --------------030503090505090308060303 Content-Type: text/plain;
name="virtual-target.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="virtual-target.patch"
Index: v2/build/virtual-target.jam
===================================================================
RCS file: /boost/boost/tools/build/v2/build/virtual-target.jam,v
retrieving revision 1.72
diff -u -r1.72 virtual-target.jam
--- v2/build/virtual-target.jam	3 Dec 2003 13:13:08 -0000	1.72
+++ v2/build/virtual-target.jam	9 Dec 2003 15:19:23 -0000
@@ -480,12 +480,14 @@
local build-dir = [ project.attribute $(self.project) build-dir ] ;
if ! $(build-dir)
{
- build-dir = [ project.attribute $(self.project) location ] ;
+ build-dir = [ path.join 
+ [ project.attribute $(self.project) location ]
+ bin
+ ] ;
}
local path = [ path.join
$(build-dir)
- bin
[ $(self.action).path ]
] ;
 --------------030503090505090308060303-- 

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