There are excellent tutorials to build QuantLib in Windows using Visual Studio 2017. However, in Visual Studio 2019, there are some updates that slightly changes the building process. I follow the procedure in the link above and explored how to adapt to the changes in Visual Studio 2019. The main issue is that Visual Studio 2019 no longer automatically add user property sheets to all projects. Hence, we have to create a property sheet manually and then add it to all projects.
- Download boosts
boost_1_75_0.zip
from here and unzip intoC:\local\
- Run
C:\local\boost_1_75_0\tools\build\bootstrap.bat
to getb2.exe