Build Boost
Building Boost 1.83 with Visual Studio 2022 (static link, multithreading)
For Windows
cd C:\boost_1_83_0\ |
For WSL
wget https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.gz |
Output
Directory
C:\boost_1_83_0\stage\lib |
Static debug shared runtime
libboost_atomic-vc143-mt-gd-x32-1_83.lib |
Static debug static runtime
libboost_atomic-vc143-mt-sgd-x32-1_83.lib |
Static release shared runtime
libboost_atomic-vc143-mt-x32-1_83.lib |
Static release static runtime
libboost_atomic-vc143-mt-s-x32-1_83.lib |
Environment Variables (Windows)
Name | Value |
---|---|
BOOST_INCLUDEDIR | C:\boost_1_83_0 |
BOOST_LIBRARYDIR | C:\boost_1_83_0\stage\lib |
BOOST_ROOT | C:\boost_1_83_0 |
Link Boost with CMake
set(Boost_USE_STATIC_LIBS ON) |