|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-06-07 11:57:15
Hi,
I have edited my local copy of libs/test/build/Jamfile.v2 by adding
alias minimal : : : :
<toolset>msvc:<asynch-exceptions>on
;
IIUC, this is the way to declare that there's a target here that
will add the <asynch-exceptions>on property to anything that uses
it.
I also have this Jamfile in my project:
project mtl4/sequence/algorithm ;
import testing ;
import mtl4 ;
run copy.cpp /boost/test//minimal ;
Yet, when I compile that file with the msvc-8.0 toolset I get:
call "C:\Program Files\Microsoft Visual Studio 8\VC\\bin\vcvars32.bat" > nul
cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /GR /MDd @"bin\copy.test\msvc-8.0\debug\asynch-exceptions-on\copy.obj.rsp" -c -Fo"bin\copy.test\msvc-8.0\debug\asynch-exceptions-on\copy.obj"
i.e. no /EHx flags appear in the command-line. What am I missing?
msvc.jam has been modified with appropriate feature and flags
declarations (in CVS).
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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