title: Command parameters for b2 in order to build Boost libraries with Microsoft's Clang/C2
body: <p>I have been trying to compile Boost libraries using b2 in Windows but using Clang/C2 (Clang 3.7 with Microsoft CodeGen), to no success. Since Visual Studio comes with several toolsets to use at build time, it seems it shouldn't be too hard to specify which. I have seen another posting relating to "building boost with clang 3.8 on windows" but his proposal to use as command line for b2 is in error because it is not really invoking the clang compiler from MSVC. The person posting that used the following command line:</p>
  
  <pre><code>b2 --build-dir=build toolset=clang --build-type=complete stage
  </code></pre>
  
  <p>I am a stranger to b2 and the Boost.Build tools... all I want is to use Boost from MSVC with Clang/C2 instead of the default compiler.</p>
  
  <p>Any feedback will be greatly appreciated..</p>
  
  <p>Juan Dent</p>
  
  <p>BTW: I am using Visual Studio 2015 Update 3.</p>