boost bat

boost bat

SET INCLUDE=\"D:\\STLport-4.6.2\\stlport\";%INCLUDE%
SET LIB=\"D:\\STLport-4.6.2\\lib\";%LIB%
SET MSVC_ROOT="C:\Program Files\Microsoft Visual Studio\VC98"
SET VISUALC="C:\Program Files\Microsoft Visual Studio\VC98"
SET JAM_TOOLSET=VISUALC
SET PYTHON_ROOT=C:\Python22
SET PYTHON_VERSION=2.2
SET STLPORT_PATH=C:\STLport-4.6.2\lib
SET STLPORT_VERSION=4.6.2
rem pause
cd c:\Program Files\Microsoft Visual Studio\VC98\bin
pause
call VCVARS32.BAT
pause
cd C:\boost_1_33_1\libs\regex\build
pause
rem call nmake -f vc6-stlport.mak
pause
cd C:\boost_1_33_1
pause
rem bjam -sBOOST_ROOT=. -sTOOLS=msvc --with-thread stage
rem msvc-stlport-tools
bjam -sBOOST_ROOT=. -sTOOLS=msvc-stlport --with-thread stage
rem quit
exit

rem 版本:boost 1.33.1 STLport 5.0 / VS.net 2003 没有特殊设置,除了程序的debug build应加_STLP_DEBUG宏定义。
rem boost build procedure:
SET INCLUDE=\"D:\\STLport_50\\stlport\";%INCLUDE%
SET LIB=\"D:\\STLport_50\\lib\";%LIB%

SET PYTHON_ROOT=\"D:\\Python24\"
SET PYTHON_VERSION=2.4.2
SET STLPORT_PATH=\"D:\\\"
SET STLPORT_50_PATH=\"D:\\STLport_50\"
SET STLPORT_VERSION=5.0
SET STLPORT_VERSIONS=5.0
SET VC71_ROOT=\"d:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\"

bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1 stage
bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1-stlport stage

如果不编译python库,最后两行改成

bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1 --without-python stage
bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1-stlport --without-python stage

pause
cd c:\boost_1_33_1
pause
rem bjam -sBOOST_ROOT=. -sTOOLS=msvc "-sBUILD=debug release static/dynamic
pause
cd C:\Program Files\Tencent\TM
pause
start TMShell.exe
pause

你可能感兴趣的:(boost bat)