如何为 visual studio 2015 年和 2013 年构建 boost 1.63(拥有 vc120 和 vc140 库)?

How to build boost 1.63 for both visual studio 2015 and 2013 (to have vc120 and vc140 libs)?

我必须使用 Windows 10 Enterprise 并安装 Visual Studio 2015 和 Visual Studio 2013,因为我将两者用于不同的项目。我已经按照官方指南从 Visual Studio Prompt 2015 成功安装了 VS 2015 的 boost 1.63:

bootstraps.bat vc15
.\b2 --prefix=path/to/boost/builds/for2015

并找到了我所有的 vc140 库。 现在我正在尝试通过重复步骤

从 Visual Studio Prompt 2013 对 VS 2013 做同样的事情
bootstraps.bat vc12
.\b2 --prefix=path/to/boost/builds/for2013

但出了点问题,我在 path/to/boost/builds/for2013 文件夹中找到了 vc140 库,而不是 vc120 库。我只是尝试重命名它们,但看起来它们确实是 vc140 而不是 vc120。

关于要更改什么以获得 vc120 有什么想法吗?非常感谢!

这个东西与 prebuilt binaries

一起工作

谢谢@Hans!