Forgot to mention one thing. I have some CMake code that will add support for this. It's a simple feature that adds a cache variable only if you are using generator that utilizes MSVC9. This cache variable is an integral value and starts off with a default of 1, which translates to /MP1. If you have an 8 core machine, you can set it to 8 and it will use /MP8. I'd be willing to provide this implementation to the boost community if you guys would like to have it.

Sincerely,
Robert Dailey


On Wed, Jul 15, 2009 at 1:17 PM, Robert Dailey <rcdailey@gmail.com> wrote:
Hello,

I'm sure most of you are aware of the /MP flag introduced in MSVC9. I know this flag works fine when set through Visual Studio 9, however, I'm not sure if it works when calling cl.exe directly. Since it's just a compiler flag I imagine it does. It would be great to see support for this flag in CMake and/or bjam to help build boost faster when using this particular compiler. Any thoughts on this?

Sincerely,
Robert Dailey