Created
July 5, 2021 15:06
-
-
Save limitedeternity/cc68a292e48aa2ce9f450eb8dac772dc to your computer and use it in GitHub Desktop.
Boost 1.76 build
This file contains hidden or 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
| set BUILD_OPTIONS="-sZLIB_SOURCE=c:\SDK\ZLIB\zlib-1.2.11" -j 16 --abbreviate-paths --build-type=complete --layout=versioned link=static runtime-link=static threading=multi | |
| set TARGET_DIR=C:\SDK\Boost\boost_1_76_0 | |
| md %TARGET_DIR%\include | |
| md %TARGET_DIR%\include\boost | |
| robocopy .\boost %TARGET_DIR%\include\boost\ /MIR | |
| call bootstrap.bat | |
| call b2.exe --stagedir=%TARGET_DIR% --toolset=msvc-14.2 address-model=32 cflags=/arch:SSE cxxflags=/arch:SSE %BUILD_OPTIONS% debug release stage | |
| call b2.exe --stagedir=%TARGET_DIR% --toolset=msvc-14.1 address-model=32 cflags=/arch:SSE cxxflags=/arch:SSE %BUILD_OPTIONS% debug release stage | |
| call b2.exe --stagedir=%TARGET_DIR% --toolset=msvc-14.0 address-model=32 cflags=/arch:SSE cxxflags=/arch:SSE %BUILD_OPTIONS% debug release stage | |
| call b2.exe --stagedir=%TARGET_DIR% --toolset=msvc-14.2 address-model=64 cflags=/arch:SSE cxxflags=/arch:SSE %BUILD_OPTIONS% debug release stage | |
| call b2.exe --stagedir=%TARGET_DIR% --toolset=msvc-14.1 address-model=64 cflags=/arch:SSE cxxflags=/arch:SSE %BUILD_OPTIONS% debug release stage | |
| call b2.exe --stagedir=%TARGET_DIR% --toolset=msvc-14.0 address-model=64 cflags=/arch:SSE cxxflags=/arch:SSE %BUILD_OPTIONS% debug release stage | |
| rd /S /Q %TARGET_DIR%\lib\cmake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment