Created
April 13, 2019 05:16
-
-
Save SpareSimian/2a0f1fd1718d81ce2441218ded776778 to your computer and use it in GitHub Desktop.
Build Boost binary libraries with several Visual Studio versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem build all variants needed of Boost library | |
@rem debug/release, static/dynamic CRT linkage, 32/64 bit | |
@rem vc10/vc12/vc14/vc141/vc142 | |
@rem run from %boost_root% directory | |
pushd %boost_root% | |
call .\bootstrap.bat --without-python | |
@rem Visual Studio 2019 | |
.\b2 --without-python toolset=msvc-14.2 address-model=32 runtime-link=shared --stagedir=stage | |
.\b2 --without-python toolset=msvc-14.2 address-model=32 runtime-link=static --stagedir=stage | |
.\b2 --without-python toolset=msvc-14.2 address-model=64 runtime-link=shared --stagedir=stage64 | |
.\b2 --without-python toolset=msvc-14.2 address-model=64 runtime-link=static --stagedir=stage64 | |
@rem Visual Studio 2017 | |
.\b2 --without-python toolset=msvc-14.1 address-model=32 runtime-link=shared --stagedir=stage | |
.\b2 --without-python toolset=msvc-14.1 address-model=32 runtime-link=static --stagedir=stage | |
.\b2 --without-python toolset=msvc-14.1 address-model=64 runtime-link=shared --stagedir=stage64 | |
.\b2 --without-python toolset=msvc-14.1 address-model=64 runtime-link=static --stagedir=stage64 | |
@rem Visual Studio 2015 | |
.\b2 --without-python toolset=msvc-14.0 address-model=32 runtime-link=shared --stagedir=stage | |
.\b2 --without-python toolset=msvc-14.0 address-model=32 runtime-link=static --stagedir=stage | |
.\b2 --without-python toolset=msvc-14.0 address-model=64 runtime-link=shared --stagedir=stage64 | |
.\b2 --without-python toolset=msvc-14.0 address-model=64 runtime-link=static --stagedir=stage64 | |
@rem Visual Studio 2013 | |
.\b2 --without-python toolset=msvc-12.0 address-model=32 runtime-link=shared --stagedir=stage | |
.\b2 --without-python toolset=msvc-12.0 address-model=32 runtime-link=static --stagedir=stage | |
.\b2 --without-python toolset=msvc-12.0 address-model=64 runtime-link=shared --stagedir=stage64 | |
.\b2 --without-python toolset=msvc-12.0 address-model=64 runtime-link=static --stagedir=stage64 | |
@rem Visual Studio 2010 | |
.\b2 --without-python toolset=msvc-10.0 address-model=32 runtime-link=shared --stagedir=stage | |
.\b2 --without-python toolset=msvc-10.0 address-model=32 runtime-link=static --stagedir=stage | |
.\b2 --without-python toolset=msvc-10.0 address-model=64 runtime-link=shared --stagedir=stage64 | |
.\b2 --without-python toolset=msvc-10.0 address-model=64 runtime-link=static --stagedir=stage64 | |
popd | |
:done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment