Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-06 05:39:51


Hi Olaf,

> response-file-1
> Library\Bearinx\msvc-7.1\release\user-interface-gui\AboutDialog.obj.rsp
>
> echo "Source\Bearinx\AboutDialog.cxx" >
> "Library\Bearinx\msvc-7.1\release\user-interface-gui\AboutDialog.obj.rsp"
>
> MkDir1 Library\Bearinx\msvc-7.1\release\user-interface-gui
>
> mkdir "Library\Bearinx\msvc-7.1\release\user-interface-gui"
>
> Das System kann den angegebenen Pfad nicht finden.
> ...failed response-file-1
> Library\Bearinx\msvc-7.1\release\user-interface-gui\AboutDialog.obj.rsp...
>
>
> Boost Build tries to create the response file, before the directory
> user-interface-gui exists.

Thanks for the report! I've just committed the following patch, which
should make things better.

As a side effect, now I know two new German words ;-)

Thanks,
Volodya

Index: common.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/common.jam,v
retrieving revision 1.38
diff -u -r1.38 common.jam
--- common.jam 3 Jun 2005 12:55:27 -0000 1.38
+++ common.jam 6 Jun 2005 10:20:52 -0000
@@ -440,6 +440,10 @@
# because response file only needs the names of the sources.
# In practice, bjam won't recreated TEMPORARY target without
dependencies.
DEPENDS $(rsp) : $(sources) ;
+ # Make sure the directory is created before the response file. The target
+ # itself depends on directory, but response file does not, yet.
+ DEPENDS $(rsp) : [ on $(targets[1]) return $(LOCATE) ] ;
+
TEMPORARY $(rsp) ;

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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