Updated Windows build docs (#5283)
This commit is contained in:
parent
84e395d91e
commit
94828a7c0c
@ -165,8 +165,11 @@ To build with Visual Studio, we will need CMake. Make sure to install a recent v
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -G"Visual Studio 14 2015 Win64"
|
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.
|
After the build process successfully ends, you will find a ``xgboost.dll`` library file inside ``./lib/`` folder.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user