Opened 6 years ago
#12267 new Support Requests
How to build boost with Boost.Build using Clang 3.7 with Microsoft CodeGen instead of the original Visual C++ compiler?
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.61.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
Hi, I have been trying to compile the latest boost libraries in Windows with Microsoft's Clang 3.7 compiler (instead of the default Visual C++ compiler) and doing that using the IDE which is *A LOT OF WORK* and does not build the tests and examples, etc. What I am looking for is a way to build boost using Boost.Build but telling it to use Microsoft's Clang compiler instead of default Visual C++ compiler... Clang is actually much better at issuing warnings and explaining syntax errors and overall I think it's better
However, how can I do this? Is there a toolset to be specified in the command line to b2?
Thanks!! Juan