Unverified Commit 59ec7a9c authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

MSBuild instructions (#393)

parent 40afdf7c
...@@ -172,3 +172,16 @@ Then build the shared library and install the Python binding: ...@@ -172,3 +172,16 @@ Then build the shared library and install the Python binding:
mingw32-make mingw32-make
cd ..\python cd ..\python
python setup.py install python setup.py install
We also support building DGL with MSBuild. With `MS Build Tools <https://go.microsoft.com/fwlink/?linkid=840931>`_
and `CMake on Windows <https://cmake.org/download/>`_ installed, run the following
in VS2017 x64 Native tools command prompt:
.. code::
MD build
CD build
cmake -DCMAKE_CXX_FLAGS="/DDGL_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" .. -G "Visual Studio 15 2017 Win64"
msbuild dgl.sln
cd ..\python
python setup.py install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment