rem This scripts updates the environment (that needs to be previously set up for building with vcvarsall) rem so that the boost will build with xp compatibility in VS2013. rem Execute this script in the boost directory. set INCLUDE=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Include;%INCLUDE% set PATH=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Bin;%PATH% set CL=/D_USING_V110_SDK71_;%CL% set LIB=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Lib\x64;%LIB% set LINK=/SUBSYSTEM:CONSOLE,5.02 %LINK% b2 -j 2 --toolset=msvc-14.0 --link=static --threading=multi --runtime-link=shared address-model=64 define=_BIND_TO_CURRENT_VCLIBS_VERSION define=BOOST_USE_WINAPI_VERSION=0x0501 --build-type=complete --stagedir=lib-14.0\x64 stage