From 94828a7c0cf9a7b0151ff1b02a72bebbf1fde857 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 4 Feb 2020 20:19:54 -0800 Subject: [PATCH] Updated Windows build docs (#5283) --- doc/build.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/build.rst b/doc/build.rst index 636bfc02b..21141eb66 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -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.