Boost logo

Boost-Build :

From: Olaf Janssen (mail_at_[hidden])
Date: 2005-06-07 07:42:03


I'd like to propose two changes to msvc.jam. First:

actions compile.c bind RSP
{
$(.CC) /Zm800 -nologo -TC -U$(UNDEFS) $(CFLAGS) $(USER_CFLAGS)
@"$(RSP:W)" -c -Fo"$(<[1]:W)" && del "$(RSP)"
}
actions compile.c++ bind RSP
{
$(.CC) /Zm800 -nologo -TP -U$(UNDEFS) $(CFLAGS) $(USER_CFLAGS)
@"$(RSP:W)" -c -Fo"$(<[1]:W)"
}

It seems that '&& del "$(RSP)"' has been forgotten in the c++ action.

Second: version 1.39 changed the check

if [ MATCH ^(8) : $(version) ]

to

if ! [ MATCH ^([67]\..*) : $(version) ]

This breaks our build system which uses the toolset name 'msvc-6'. I
changed it to

if ! [ MATCH ^([67]\.?.*) : $(version) ]

but maybe another regular expression is more appropriate.

Olaf

 


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