Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-16 09:06:30


On Tuesday 16 August 2005 00:08, David Abrahams wrote:
> What's wrong here?
>
> MkDir1 ..\..\..\..\c:
> The filename, directory name, or volume label syntax is incorrect.
> mkdir "..\..\..\..\c:"
> ...failed MkDir1 ..\..\..\..\c:...
> ...skipped ..\..\..\..\c:\tmp for lack of ..\..\..\..\c:...
> ...skipped ..\..\..\..\c:\tmp\build-mtl4 for lack of ..\..\..\..\c:\tmp...
> ...skipped ..\..\..\..\c:\tmp\build-mtl4\libs for lack of
> ..\..\..\..\c:\tmp\build-mtl4...
> ...skipped ..\..\..\..\c:\tmp\build-mtl4\libs\sequence for lack of
> ..\..\..\..\c:\tmp\build-mtl4\libs...
> ...skipped ..\..\..\..\c:\tmp\build-mtl4\libs\sequence\algorithm for lack
> of

Can you try the attached?

>
> Also, is it possible to set up a general build-dir in my user-config.jam?

No, I don't think so. We talked about defining some rule in user-config.jam
that would compute build directories for all project roots, but it was not
implemented. As a workaround, you can poke "--build-dir=whatever" to ARGV in
your boost-build.jam. No, I don't think that's nice.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 --Boundary-00=_nLfADucTo+oWl17 Content-Type: text/x-diff;
charset="iso-8859-1";
name="project.jam.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="project.jam.diff"
Index: project.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/build/project.jam,v
retrieving revision 1.109
diff -u -r1.109 project.jam
--- project.jam	8 Aug 2005 09:31:38 -0000	1.109
+++ project.jam	16 Aug 2005 14:02:40 -0000
@@ -627,7 +627,8 @@
} 
else if $(attribute) = "build-dir"
{
- self.build-dir = [ path.root $(specification) $(self.location) ] ;
+ self.build-dir = [ path.root 
+ [ path.make $(specification) ] $(self.location) ] ;
} 
else if ! $(attribute) in "id" "default-build" "location" "source-location"
"parent" "projects-to-build" "project-root"
 --Boundary-00=_nLfADucTo+oWl17-- 

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