Updated Windows build docs (#5283)

This commit is contained in:
Andrew Kane 2020-02-04 20:19:54 -08:00 committed by GitHub
parent 84e395d91e
commit 94828a7c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,8 +165,11 @@ To build with Visual Studio, we will need CMake. Make sure to install a recent v
mkdir build
cd build
cmake .. -G"Visual Studio 14 2015 Win64"
# for VS15: cmake .. -G"Visual Studio 15 2017" -A x64
# for VS16: cmake .. -G"Visual Studio 16 2019" -A x64
cmake --build . --config Release
This specifies an out of source build using the Visual Studio 64 bit generator. (Change the ``-G`` option appropriately if you have a different version of Visual Studio installed.) Open the ``.sln`` file in the build directory and build with Visual Studio.
This specifies an out of source build using the Visual Studio 64 bit generator. (Change the ``-G`` option appropriately if you have a different version of Visual Studio installed.)
After the build process successfully ends, you will find a ``xgboost.dll`` library file inside ``./lib/`` folder.