本文首发于个人博客https://kezunlin.me/post/854071ac/,欢迎阅读!

compile boost 1.66.0 from source on windows 10

Series

Guide

download

wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.zip
unzip boost_1_66_0.zip

compile

cd boost_1_66_0

./bootstrap.bat 

./b2 --help

./b2 --clean

./b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/x64 debug release

#./b2 -j8 toolset=msvc-14.0 address-model=32 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/win32 debug release

Reference

History

  • 20180301: created.

Copyright


kezunlin
7 声望3 粉丝

C++,Python