Boost logo

Boost-Build :

From: dean_ashton (dean.ashton_at_[hidden])
Date: 2004-07-14 13:50:00


Hi,

I'm just starting to look at using boost.Jam as a replacement for our
current makefile & VS.NET project defined build processes. While
testing, I noticed that jam leaves .bat files within $(TEMP)..

It would appear that this was fixed in Perforce's distribution (Jam
2.5rc2 and rc3 have the fix) in execunix.c (which is used even for NT
builds), but I figured I might as well apply the fix to execnt.c
(which is used by boost.Jam when running on NT). It seems to work
perfectly.

Here's the diff against 'execnt.c' from boost.Jam 3.1.9 (compiled from
the source in boost_1_31_0.tar.gz)

743a744,747
> /* Remove our temporary .bat file */
> if ( cmdtab[ i ].tempfile )
> unlink( cmdtab[ i ].tempfile );
>

I'm not completely sure how to get a change applied to the project (I
guess some kind of arcane CVS knowledge is required), so maybe someone
could be kind enough to submit this patch..

Thanks
Dean

 


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