Boost logo

Boost-Build :

Subject: [Boost-build] How to add MSVC compiler options to boost build command(v2 not bjam)?
From: Tracy (qu_en2008_at_[hidden])
Date: 2011-10-26 00:21:48


Hi,
 
I'm trying to build boost using MSVC compiler, and I want to change the default warning level from W3 to W4, but I don't konw how to pass this option to the command line.
 
For example, my build command is this:
"b2  --toolset=msvc-10.0 --buildtype=complete stage"
 
How could I pass the warning level to the compiler?
Thanks a lot for any help here.
 
 
 
Best regards,
 



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