vendredi 1 juillet 2016

What command parameters do we need to feed b2 in order for Boost libraries to build with Microsoft's Clang/C2?

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:

b2 --build-dir=build toolset=clang --build-type=complete stage

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.

Any feedback will be greatly appreciated..

Juan Dent

Aucun commentaire:

Enregistrer un commentaire